Script to turn toggle switches off when another is on

Discuss Lemur and share techniques.
Post Reply
searlstudio
Newbie
Posts: 5
Joined: 09 Feb 2012 06:23
Location: London, UK
Contact:

Script to turn toggle switches off when another is on

Post 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.
iMac 27-inch. 2.93Ghz Quad-Core Intel Core i7, 16GB RAM | Korg Kronos 61, Roland Jupiter 80, Akai EWI 4000s | Cubase 6.5 | Lemur | Boatload of VST/AU Instruments
diasdelphx
Newbie
Posts: 7
Joined: 11 Feb 2012 08:12

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

Post by diasdelphx »

you dont even need a script, just make a row grid in the properties section and set it to radio
gotmilo
Newbie
Posts: 11
Joined: 21 Mar 2012 11:31

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

Post 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?
Post Reply