Calling a script

There are examples of this in the APC40 MKII MIDI device scripting

Name it
Codename "MyScriptName"
Run it
StartCode "MyScriptName"
Exit a script
Exit
Stop a script
StopCode "MyScriptName"

Global vs local scripts

Scripts are all global so can be stored anywhere.

A typical place to put global scripts is on the right sidebar “PangoScript” tab, but you don’t have to.

Auto run on startup

Include Autostart in the script:

StartCode "MyScriptName"
Autostart

Comments

Your email address will not be published. Required fields are marked *