June 12, 200124 yr I've got a script which opens a QuickTime movie and two FM databases (all related to the one with the script) and want to make sure the windows are positioned correctly (to fill the entire screen and idiot-proof the process). I also need to hide the page which is executing the script at the end of the script, because it always wants to be on top (sending it to the back would work, too). I know I'll probably have to position the QT movie via AppleScript, but is there a FileMaker command to position the FileMaker windows, and to hide the other FM window?
June 12, 200124 yr The Toggle Window [Maximize] is a script step that will make the window as large as it can be on the screen. If this is what you want, you're pretty much set. If, however, you want to position the window more precisely, such as placing it in a particular position and giving it particular dimensions, then you will need AppleScript. You can use the Toggle Window [Zoom] to set the size by having a blank layout with a single rectangle on it that fills the size you want and going to this layout, using Toggle Window [Zoom] and then continuing, but FileMaker itself doesn't provide a way to place the window anywhere in particular except for the top left of the main monitor. For this you need AppleScript. Chuck [ June 12, 2001: Message edited by: Chuck ]
June 13, 200124 yr Author Thanks, Chuck. I ended up using Toggle Window (hide) to hide the big window, leaving the other ones visible underneath; then to switch back I toggle to (maximize) on the big window. It's not perfect but it works. -Stanley
Create an account or sign in to comment