It is possible to trigger a script in Moving Light Assistant using OSC. This can be useful when using the grandMA3 console or external devices/applications, such as a Stream Deck or TouchOSC.
Moving Light Assistant is looking for an OSC message formatted as follows…
Address/Method /mla/script
1 Parameter/Argument as a String
The parameter/argument is the text set as the scripts TriggerOSCStringParameter. This can be set either in the Manage Scripts dialog, or directly in the script.
In the above image, you will see that the PresetDoc – Select Next Preset script is set to be triggered by OSC when it receives an OSC message /mla/script
with the string parameter preset_next
grandMA3 Example
To send OSC commands from a grandMA3 console/software, you can use the SendOSC
keyword. Look up the keyword in the grandMA3 documentation to understand how it is used.
You could place SendOSC
commands in a macro so that when you run a macro, you can trigger a script in Moving Light Assistant.
The macro line in this example is SendOSC 1 "/mla/script,s,preset_next"