Button to have another Button Send out message

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)
}

There should be 3 values for a midi control message: channel, control number and control value.

1 Like

Thank you, that was what I was missing.