Running a script when a user event occurs
- Click the Event tab in the Interactive palette.
- Select the object in the Object list.
- Optionally choose a cursor preference from the Cursor drop-down menu.
- Choose an option from the User Event drop-down menu.
- Optionally choose a sound to play from the Event Sound drop-down menu.
- Choose Script > Run from the Action drop-down menu.
- Choose the script from the Script drop-down menu.
Parent topic: Running a script