March 2, 201114 yr 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
March 2, 201114 yr 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 ; "" ]
March 2, 201114 yr Author 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 ; "" ]
Create an account or sign in to comment