Button triggers another button
-
I am trying to create a function or in a function at the end
to trigger another button so that this button is then pressedSimply setting it to one with .setValue() is not enough to execute its function.
Is that possible?
inline function onbtnRandomAll1Control(component, value) { // Store sliderpack values if(value) { for (i = 0; i < 16; i++) { storage.sp1[i] = Math.randInt(-12, 12); SliderPack1.setSliderAtIndex(i, storage.sp1[i]); }; pnlSlidArp1.setValue(storage); //This button should then be triggered!!! btnPackSelector3.setValue( } }; Content.getComponent("btnRandomAll1").setControlCallback(onbtnRandomAll1Control);
-
btnPackSelector3.changed()
is the part your missing. -
"Button löst eine weitere Schaltfläche aus"
is this post randomly translated for me or are you german? :) -
-
@d-healey Weird! :D
-
@UD-AUDIO said in Button löst eine weitere Schaltfläche aus:
@d-healey Weird! :D
I'm joking :P MikeB can't help himself, he occasionally bursts into German and we end up with a thread like this - https://forum.hise.audio/topic/4169/arpeggiator-sync/2?_=1625926207183 :p
-
@d-healey Ohh you got me! :D That topic is more as funny! Made my day