RigDataView:DispatchAction

From Moving Light Assistant
Jump to: navigation, search

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 Rig Data view. These actions would normally by triggered by clicking on the user interface, i.e. clicking on a toolbar button, or selecting a Fixture in the Fixture table.

Example.

RigDataView:DispatchAction("Select All")

This would send an action that would be the same as selecting the Select All menu item from the Edit menu.

Action Strings

Select All

Will select all the displayed fixture rows in the fixture table in the Rig Data view.

Deselect All

Will Deselect all fixture rows in the fixture table in the Rig Data view.

Select All Fixtures

Will select all the displayed fixture rows in the fixture table in the Rig Data view.

Deselect All Fixtures

Will Deselect all fixture rows in the fixture table in the Rig Data view.

Select First Fixture

Will select the first Fixture in the Fixture table in the Rig Data view. It is the same as if you had clicked on the first Fixture in the Fixture table. Note that table will not scroll to show the selection.

Select Last Fixture

Will select the last Fixture in the Fixture table in the Rig Data view. It is the same as if you had clicked on the last Fixture in the Fixture table. Note that table will not scroll to show the selection.

Select Next Fixture

Will select the next Fixture in the Preset table in the Rig Data view. If no Fixture was previously selected, it will select the first Fixture. Note that table will not scroll to show the selection.

Select Previous Fixture

Will select the previous Fixture in the Fixture table in the Rig Data view. If no Fixture was previously selected, it will not do anything. Note that table will not scroll to show the selection.