Execute a grandMA3 command
gma3_commandExecutes raw grandMA3 command-line commands for operations no structured tool covers, returning the console's command-line feedback such as OK or Syntax Error.
Instructions
FALLBACK for a command no structured tool covers: patching, looks, presets, groups, phasers, cues, chases and playback have their own tools (see the server instructions), which check before acting and read back; a raw command is not checked or read back. Execute a grandMA3 command-line command exactly as it would be typed (without Please/Enter). Examples: "Go+ Sequence 1", "Fixture 1 Thru 10 At 50", "Store Cue 2 /Merge /NoConfirmation", "ClearAll", "FaderMaster Page 1.201 At 75 Fade 2". Returns the command line feedback (OK, Syntax Error, Illegal Command). Commands that produce output (List, GetGlobalVariable, etc.) print to the console history, not here; use gma3_get_object / gma3_list_children to read data. $variables expand in commands sent through the bridge, outside quotes (SU-15 probe: Label Sequence 940 $name named the sequence after the variable); a user variable shadows a global one, and a command with a missing $variable does nothing. Read and set them with gma3_variables / gma3_set_variable. Via "osc" the command is sent fire-and-forget over OSC and no feedback is available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| via | No | Transport. auto (default) uses the bridge and falls back to OSC only if the bridge cannot be reached before the command is sent. If the bridge accepted the command but no reply came back, the command is NOT resent (it may already have executed); the error says so. | |
| command | Yes | The command, e.g. 'Go+ Sequence 1' |