Protour Travel Posted May 12, 2011 Posted May 12, 2011 Is there any way to keep a window that was opened using GTRR (GoToRelatedRecord) on top (active) until the close window button is pressed? The GTRR window is smaller than the main interface and as of now, when you click anywhere outside the GTRR window it hides in the back. This is allowing multiple GTRR windows to open from the same script.
Vaughan Posted May 12, 2011 Posted May 12, 2011 Is there any way to keep a window that was opened using GTRR (GoToRelatedRecord) on top (active) until the close window button is pressed? Keep the user in a paused loop. This is allowing multiple GTRR windows to open from the same script. Ah, this is a different issue. Before doing the GTRR and creating the new window, check to see whether a window with the same name is open. If so then select it. This might avoid the necessity to implement the paused script.
Aussie John Posted May 21, 2012 Posted May 21, 2012 Using the system close button will transfer a paused script to the next window. fm12 has an option to disable the close button on a new window and allows a fullproof custom made button invoking the 'resume' script button option (not a new script). I don't know a way to invoke the resume script within a script but would like to know if there is a way except via Applescript.
Vaughan Posted May 21, 2012 Posted May 21, 2012 Using the system close button will transfer a paused script to the next window. fm12 has an option to disable the close button on a new window and allows a fullproof custom made button invoking the 'resume' script button option (not a new script). I don't know a way to invoke the resume script within a script but would like to know if there is a way except via Applescript. In FM 2, use the floating or modal window options. AFAIK the modal window does not need a paused script to be "modal" so it's possible to run a script to open the modal window, then run other scripts, then close the modal window. Since there is no paused script there is no fool to be proof of. In FMP 11, the close button was only active in Windows, not in Mac OS X, so the issue of closing windows when a script is paused never came up for Mac uses (until they made x-plat solutions, then they got a rude shock). The solution is to make a custom menu set that disables the Close command (i.e., run a script that does nothing) for the layouts displayed int he modal window.
Recommended Posts
This topic is 4568 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