I'm trying to get one toggle button(A) when in the on state to cause another toggle button(B) to send out its message. Both buttons are on a different port. Right now, I was trying to work with this script on button A but am having trouble getting this to work. Any suggestions?
if (value==1){
send ('midi:DT', '/control', 1,84)
send ('midi:PORT', '/control', 1,86)
}