djc728 Posted March 2, 2011 Posted March 2, 2011 Hello all: I have a problem that I'm having a hard time getting out of. I have an "OnLayoutEnter" trigger and inside this trigger I have a script that goes to a New Window, does some processing, and returns. The issue I'm having is that when the script hits the New Window command the focus goes back to the "OnLayoutEnter" trigger and starts to run that again. I'm just confused as to why it would jump back to the "OnLayoutEnter" trigger script and is there a way to avoid that from happening. Dom
David Jondreau Posted March 2, 2011 Posted March 2, 2011 At the beginning of your script add this: If[$$triggerOff = 1] Exit Script End If Around your New Window[] script step add this: Set Variable[ $$triggerOff ; 1] New Window[] Set Variable[ $$triggerOff ; "" ]
djc728 Posted March 2, 2011 Author Posted March 2, 2011 Thank you very much -- that should do it. At the beginning of your script add this: If[$$triggerOff = 1] Exit Script End If Around your New Window[] script step add this: Set Variable[ $$triggerOff ; 1] New Window[] Set Variable[ $$triggerOff ; "" ]
Recommended Posts
This topic is 5288 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