General

Script to turn toggle switches off when another is on

Started by searlstudio on .

Sign in or create an account to join the conversation.

3 posts

Topic starter
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.
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?