Here's what you do... In the definition of the logo button, pass a Script Parameter =Get(ScriptName) and set it to Resume.
Then at the beginning of the logo button script add: If [Get(ScriptName) = "Other Script" Pause/Resume Script Exit Script End If What this does is enables the navigation script to check to see if a script is already running. If it does, it pauses (because the other script's pause was overridden), then exits when the user hits continue. Sue-13 wrote: > > The problem is that I have a company logo on every page of the > intranet which acts as a button to return the user to the main page. > > Due to client request, I have many scripts set up to return a user > from any new layout that a script takes them to, to the page layout > they started from (often not the main menu). > > What I find is happening is that some users are starting a script > that allows them to go view or enter information on a different > layout, then instead of clicking "continue" which would take them > back to the original layout where they started the script, they click > on the company logo to get back to the main menu page. Meanwhile the > script that was in mid-execution remains in progress, essentially > waiting for a continue (Resume script) command that never arrives. I > want to set the button on the logo so that it quits any script in > progress, then switches the user to the main menu. But so far, my > attempts to do this using the Exit Script command have not worked. > -- View this message in context: http://www.nabble.com/need-help-with-calc%21-tp19470496p19545549.html Sent from the FMPro at Dartmouth mailing list archive at Nabble.com.
