stanley Posted June 12, 2001 Posted June 12, 2001 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?
Chuck Posted June 12, 2001 Posted June 12, 2001 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 ]
stanley Posted June 13, 2001 Author Posted June 13, 2001 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
Recommended Posts
This topic is 8568 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now