Things have changed a bit since my last post in this thread. To make that button send two messages in a row you'd set
-
mode
tomomentary
(assuming we don't need a on/off behavior) -
bypass
totrue
(to prevent the widget's default messages from being sent) -
onValue
to
send('/program', 13, 1)
send('/control', 11, 91, 127)
This assumes the widget's target
property is set (or that the server has a default target set for all widgets using its send
option), otherwise you'd need to specify the target like this:
send('midi:port', '/program', 13, 1)
send('midi:port', '/control', 11, 91, 127)