Document:DispatchAction
Contents
DispatchAction( action, optionalParameter )
- action is a string.
- optionalParameter is a string (only some actions require the optionalParameter).
This function sends a user interface action to the Document. These actions would normally by triggered by clicking on the user interface, i.e. clicking on a tab, toolbar button or menu.
Example.
Document:DispatchAction("View Rig Data")
This would send an action that would be the same as clicking on the Rig Data tab to change views.
Action Strings
View Rig Data
This action would change the document view to the Rig Data view as though you had clicked on the corresponding tab.
View Wheel Loads
This action would change the document view to the Wheel Loads view as though you had clicked on the corresponding tab.
View Preset Documentation
This action would change the document view to the Preset Documentation view as though you had clicked on the corresponding tab.
View Rig Cue List
This action would change the document view to the Cue List view as though you had clicked on the corresponding tab.
View Console Data
This action would change the document view to the Console Data view as though you had clicked on the corresponding tab.
View Report Preview
This action would change the document view to the Report Preview view as though you had clicked on the corresponding tab.