Read console variables (global and user)
gma3_variablesRead grandMA3 global and user variable values and types by name, plus $variables referenced by macros, to inspect macro dependencies and resolve scope when variables cannot be listed.
Instructions
Read-only. The values and types (integer, double, text) of global and user variables, by name, and every $variable the macros reference (referenced, default when no names are given: each with the macro lines that use it). Variables cannot be listed on grandMA3 2.5.1 (no API enumerates them), so a variable that no macro references is read by its name. With scope both (default), resolvesTo says which one a $reference uses: a user variable shadows a global one. User variables are the bridge's user's. $variables expand in commands sent through gma3_command (outside quotes). Needs bridge 0.31.0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | No | Variable names to read (case-sensitive). | |
| scope | No | Which variables (default both). | |
| referenced | No | Also read every $variable the macros reference (default: true when no names are given). |