David Jondreau Posted June 16, 2010 Posted June 16, 2010 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?
TheTominator Posted June 16, 2010 Posted June 16, 2010 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
Recommended Posts
This topic is 5547 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