Page 1 of 1

Script to turn toggle switches off when another is on

Posted: 11 Feb 2012 07:13
by searlstudio
Hi,

Does someone know a script to turn off a toggle switch when another one is on? I'm making a template for a plug-in and there are toggle switches for 8 parts. When one part is on the others should be off.

Thanks.

Re: Script to turn toggle switches off when another is on

Posted: 11 Feb 2012 08:15
by diasdelphx
you dont even need a script, just make a row grid in the properties section and set it to radio

Re: Script to turn toggle switches off when another is on

Posted: 06 Apr 2012 10:46
by gotmilo
Hi, is there a way to toggle between 2 radio buttons but also be able to turn both off by pressing which ever button that's on again? I have 2 buttons (delay 1 & delay 2) set with cc and i can't really set 3 radio buttons with an "off" button because the delays are nowhere near cc 0. Can anyone help please?

Edited:
Just figured out the cc command via script: ctlout(0,20,127,1). Still wondering how to script turn both buttons off by pressing buttons again. Anyone?