September 22, 201015 yr I'm not quite sure if "Interrupting triggers" is a correct title,so here's the question: When you have a OnRecordLoad script trigger set to perform a Refresh script, is it possible to trace if another script is already running and avoid executing the command in order to freeze the window and minimize flicker?
September 22, 201015 yr Scripts do not run concurrently. Why do you need a Refresh in an OnRecordLoad?
September 22, 201015 yr When I have a script that trigger another script that I don't actually want to run, I include a Set Variable[$$triggerOff;1] step at the start and a Set Variable[$$triggerOff; ""] at the end. In the triggered script, I add: If[$$triggerOff] Exit Script[] End If This comes up for me frequently with the New Window[] script step which triggers on LayoutLoad scripts.
September 22, 201015 yr Author The onrecordload is used to refresh the screen and update a global variable for a record row hilighter.
September 22, 201015 yr Author When I have a script that trigger another script that I don't actually want to run, I include a Set Variable[$$triggerOff;1] step at the start and a Set Variable[$$triggerOff; ""] at the end. In the triggered script, I add: If[$$triggerOff] Exit Script[] End If This comes up for me frequently with the New Window[] script step which triggers on LayoutLoad scripts. Hmm, sounds like a nice solution, I'll look into it further, THANKS!
Create an account or sign in to comment