Above the scripting pane is the Object drop-down list that includes all available objects associated with the selected document, section, or object. Adjacent to Object is the Event Trigger drop-down list. This list displays the events for the control object, the action that invokes the script attached to the event.
After selecting an event, you can enter JavaScript and reference the object model. To see or edit scripts that extend beyond the scripting pane boundaries, use the horizontal and vertical scroll bars.
Script Editor provides functions to: (cut),
(copy),
(paste), and
(find and replace, see Finding and Replacing Within Scripts).
Other functions provided by Script Editor: