June 16, 201015 yr Any tips out there on aborting script triggers? I have OnLayoutLoad triggers for sorting and window management, but I don't want to run them when a script calls a new window (with with a GTRR or a New Window). I've tried passing Get(ScriptName) as a parameter, to check if a script is running, but I have to hard code the names of all the scripts I want to abort. I don't want to abort all the scripts that trigger OnLayoutLoad, just some. So that's cunky at the least. Thoughts?
June 16, 201015 yr Script Z: (Your triggered script) If ($$doNotEvaluateTrigger) Exit Script End if Do whatever you want on your script trigger. Script A: Set Variable $$doNotEvaluateTrigger = 1 Go To Related Record in New Window Set Variable $$doNotEvaluateTrigger = 0
Create an account or sign in to comment