Assign a sequence to an executor
gma3_assign_to_executorAssigns a sequence to a specified executor page in grandMA3, verifying existence and current assignment, with optional replacement and labeling.
Instructions
Assign a sequence to an executor on an explicit page: sends 'Assign Sequence At Page .' (manual syntax). Before sending anything it checks read-only that the sequence and the page exist and what the executor currently holds; an executor holding a different object is only replaced with replace: true (otherwise the call fails with the previous assignment in the result), and an executor that already holds this sequence is left alone (alreadyAssigned: true, no command sent). Optional label: sends 'Label Page . ""' after assigning. On grandMA3 an executor has no label of its own: it shows its assigned object's name, so this RENAMES THE SEQUENCE itself, everywhere it appears (pools, other executors). If labelling fails after the assignment the outcome is partial. Does not change the fixture selection or the programmer and never sends Go/On/Off/Toggle or any playback keyword; whether the console changes the selected sequence on assignment is not controlled by this tool. verify (default true) reads the executor back and compares the assigned object (by name and class) and, when a label was given, the executor's displayed name and the sequence's own Name; executor configuration, fader/key functions and playback state are NOT verified. Mutations from this server are serialised, but another operator or client can still change the executor between the inspection and the assignment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Executor page number (1-9999). The page must already exist; the tool does not create pages. | |
| label | No | Optional new name for the assigned sequence (an executor displays its assigned object's name). Names must not contain \ " $ & * ? , . ; ^ { } | ~ (the console strips them); leading/trailing spaces are trimmed. | |
| verify | No | Read the executor (and the sequence, when labelled) back and compare (default true). | |
| replace | No | Replace an executor that holds a different object (default false: fail and report the previous assignment). | |
| executor | Yes | Executor number on that page: 101-190 (keys), 201-290 (faders), 301-390 and 401-490 (knobs), plus the Xkeys 191-198 and 291-298. | |
| sequence | Yes | Sequence number to assign (must exist). |