After creating a script you must assign it to the trigger types that will use it. Associating scripts to trigger types specifies the scripts that appear in the scripts list when you create a new trigger.
1. Click Trigger/Script Relationships on the navigation bar. The Trigger/Script Relationships window opens.
2. Click the New Trigger/Script Relationship… link.
3. In the Description field, type a Trigger/Script Relationship name.
4. Click the Event arrow and choose the event (trigger) that will use this script.
5. Click the Script arrow and choose the script.
6. (Optional) In the Comments: field, enter any comments.
7. Click the Save button to save this relationship.
You can assign multiple scripts to an event (trigger). Click Reset to clear the form before defining a new relationship.
8. Repeat steps 3 through 8 for each script you want to assign.
To delete a relationship from the table, click the Delete next to the relationship you want to delete.