Hi. I have my effects assigned to a pad page. 1 effect per pad. I am also using the 3 Slots layout for effects.
I would like to press a pad (effect), and have it load(effect_select) AND activate(effect_active) AND show that effect GUI on the 1st Effect slot. If the 1st Effect slot is already active, I would like it to load and activate and show effect GUI on the 2nd Effect slot, instead. If 1st and 2nd Effect are active, I would like it to load and activate and show effect GUI on 3rd Effect Slot, instead.
If the effect that I am selecting is already active, then I would like it to un-activate the effect and close that effect GUI. Alternatively, if the effect I'm selecting is already Selected/loaded on an effect slot, I just want it to activate and load effect GUI.
Another variable is holding for 500ms. If I press and hold a pad, I want it to load(effect_select) on slot 1, and show effect GUI.
I already figured out the script to do everything that I want, except when I press the pad again to UN-activate the effect, it un-activates the effect AND loads it to the next slot. I obviously don't want it to load on the next slot if I'm just deactivating it. I've messed with this for weeks. lol. I hope my question makes sense. My question seems more complicated than my answer. haha. Here's an example of the script I have so far, [ in brackets ]
[ effect_active 1 ? effect_active 2 ? holding 500ms ? effect_show_gui "EchoDoppler" & effect_select 3 "EchoDoppler" : Effect_active 3 "EchoDoppler" & effect_show_gui "EchoDoppler" : holding 500ms ? effect_show_gui "EchoDoppler" & effect_select 2 "EchoDoppler" : Effect_active 2 "EchoDoppler" & effect_show_gui "EchoDoppler" : holding 500ms ? effect_show_gui "EchoDoppler" & effect_select "EchoDoppler" : Effect_active 1 "EchoDoppler" & effect_show_gui "EchoDoppler ]
I understand if I get no help on this one. lol It's complicated, but I think it's an easy answer. I've just been hung up on this one. Thanks to all the folks in the forums that answer everyone's questions. DjDAD, Loco, etc, etc. This is my first question in the forums, but I've had many answered by looking through old forums. Thanks again!
I would like to press a pad (effect), and have it load(effect_select) AND activate(effect_active) AND show that effect GUI on the 1st Effect slot. If the 1st Effect slot is already active, I would like it to load and activate and show effect GUI on the 2nd Effect slot, instead. If 1st and 2nd Effect are active, I would like it to load and activate and show effect GUI on 3rd Effect Slot, instead.
If the effect that I am selecting is already active, then I would like it to un-activate the effect and close that effect GUI. Alternatively, if the effect I'm selecting is already Selected/loaded on an effect slot, I just want it to activate and load effect GUI.
Another variable is holding for 500ms. If I press and hold a pad, I want it to load(effect_select) on slot 1, and show effect GUI.
I already figured out the script to do everything that I want, except when I press the pad again to UN-activate the effect, it un-activates the effect AND loads it to the next slot. I obviously don't want it to load on the next slot if I'm just deactivating it. I've messed with this for weeks. lol. I hope my question makes sense. My question seems more complicated than my answer. haha. Here's an example of the script I have so far, [ in brackets ]
[ effect_active 1 ? effect_active 2 ? holding 500ms ? effect_show_gui "EchoDoppler" & effect_select 3 "EchoDoppler" : Effect_active 3 "EchoDoppler" & effect_show_gui "EchoDoppler" : holding 500ms ? effect_show_gui "EchoDoppler" & effect_select 2 "EchoDoppler" : Effect_active 2 "EchoDoppler" & effect_show_gui "EchoDoppler" : holding 500ms ? effect_show_gui "EchoDoppler" & effect_select "EchoDoppler" : Effect_active 1 "EchoDoppler" & effect_show_gui "EchoDoppler ]
I understand if I get no help on this one. lol It's complicated, but I think it's an easy answer. I've just been hung up on this one. Thanks to all the folks in the forums that answer everyone's questions. DjDAD, Loco, etc, etc. This is my first question in the forums, but I've had many answered by looking through old forums. Thanks again!
Posted Tue 07 Mar 17 @ 12:27 pm
if you dont get a reply before, I'll look tomorrow evening
Posted Tue 07 Mar 17 @ 11:39 pm
try adding this to the start of your script
effect_active "EchoDoppler" ? effect_active "EchoDoppler" 0 & effect_show_gui "EchoDoppler" 0 : (rest of your code)
Posted Wed 08 Mar 17 @ 9:23 pm