Script triggers reference
You can set up a script trigger to specify that a script runs when an event occurs. Click the links for the topics in this section to see a description of each script trigger.
Related topics 
Setting script triggers for layouts
Setting script triggers for objects
Setting file options
Topics in this section
OnObjectEnter
OnObjectKeystroke
OnObjectModify
OnObjectValidate
OnObjectSave
OnObjectExit
OnPanelSwitch
OnObjectAVPlayerChange
OnRecordLoad
OnRecordCommit
OnRecordRevert
OnLayoutKeystroke
OnLayoutEnter
OnLayoutExit
OnLayoutSizeChange
OnModeEnter
OnModeExit
OnViewChange
OnGestureTap
OnExternalCommandReceived
OnFirstWindowOpen
OnLastWindowClose
OnWindowOpen
OnWindowClose
OnFileAVPlayerChange