Create Scripts for Menu Items
You can include the event blocks for your menu items in the frame script, or you can create separate scripts for the individual menu items. For information about the available events for specific menu items, see the Language Reference Guide.
To create a script for an individual menu item
Select the item in the Menu Editor and then click Edit, Field Script.
For more information about using the Script Editor to write your scripts, see
Writing Scripts and Procedures.