First time here? Check out the FAQ!
x

Is there a shortcut to set many widgets to the same value?

+1 vote
507 views
Hi!

In this kind of situation,

https://dl.dropboxusercontent.com/u/18440215/public%20image/Screenshot%202017-06-29%2015.19.46.png

all the buttons seem to be drawn by default with a value above 0, but I'd like to store a preset where they are all set to 0.

Of course I could invert the buttons logic in the Capytalk constructor script, but I'd prefer not to. Is there a way to select all and set to the same value?
asked Jun 29, 2017 in Using Kyma by cristian-vogel (Master) (8,440 points)

1 Answer

0 votes

I asked a related question to this:

http://kyma.symbolicsound.com/qa/1778/how-set-default-value-vcs-control-that-not-affected-presets

where I was struggling with a single VCS control. The answer we came up with in the end was to use a TriggeredSoundToGlobalController with AllowLiveOverride that triggers when !localTime eq: 0,  which means at start up it sets the value of the VCS control.

That doesn't help you with an array of controls, but you could use the replicator or script the creation of a whole bunch of TSTGCs. I wonder if that would be computationally wasteful. Perhaps not.

answered Sep 26, 2017 by alan-jackson (Virtuoso) (15,840 points)
...