Setting script triggers for objectsYou can set up script triggers to activate when actions are performed on a specific object within a specific layout.
2. In Layout mode, select a layout.
4.
5.
7. (Optional) To specify a script parameter, type the text you want. Or, click Edit and use the Specify Calculation dialog box to build a more complex parameter, then click OK.
8. Click OK to close the Specify Script dialog box.
10. Click OK.A badge or appears on the object or objects on which you set the script trigger. (The badge that appears depends on the size of the object.) If you don’t see a badge, choose View menu > Show > Script Triggers.
• Changes made to an object in one layout will not activate script triggers on the same object in a different layout.
• If you select multiple objects that have different settings for a script trigger, the Set Script Triggers dialog box displays a minus sign (“-”) to indicate that the trigger has not been set on some of the objects.
• You can leave the settings intact by clicking OK, or change the settings by clicking the checkbox.