April 22, 200520 yr Is there a script I can use to control the size of a window (not Zoom) so that different layouts have different sizes?
April 22, 200520 yr Stephen: You can control that via AppleScript. I've got a solution for that somewhere, and if I can find it I will post it. Otherwise, I have posted this answer in the past, so you may want to search these forums for that. -Stanley
April 22, 200520 yr Stephen: It goes like this: Perform AppleScript [ tell Application "FileMaker Pro" set bounds of Window "Your_Window_Name" to {x1,y1,x2,y2} end tell ] Where "Your_Window_Name" is, in FMP6, exactly what's in the title bar of the window (i.e., the file name), and the bounds x1,y1 are the location of the upper left corner of the window, and x2,y2 is the lower right of the window. Note that this is absolute for the screen, so you want to account for the menu bar, which is about 40 pixels high. -Stanley
Create an account or sign in to comment