set/reset script trigger for a layout
hello one and all,
under a script, how do i set or reset a script trigger within a layout?
thank you in advance.
Well you can not detach or attach a script trigger via script.
However, you COULD set a global variable to allow the steps that you want to run on or off.
If [ $$triggerOn ]
Set Field [ FieldA; "Hey its on" ]
Now to toggle it on or off, you can flag it on or off with a boolen value.
Set Variable [ $$triggerOn; not $$triggerOn ]
yes, i know this. i know how to set the script trigger manually, i.e., under the layout setup.
i am asking, how do i programatically set/reset it under a script?
Retrieving data ...