Cannot change the 'name' attribute on fader ...
Posted: 17 Mar 2017 03:30
And here comes another one I cannot figure out:
I just tried to change the actual name of a Fader object upon receiving sysex. I set up a Fader with a script.
When I script ...
.. the display in "unit" is exactly what I sent via Sysex. Start2 and Start3 are variables I defined before by searching the correct places in the Sysex with a while loop. But this works!
But when I script ...
... Fader label still reads Fader. Note, that I used the variable to define the name of the fader object to be able to change it after the name became changed. Why is this not working? The attribute 'name' is mentioned in the manual, so it should work the same way as with the 'unit'-variable, shouldn't it?
I just tried to change the actual name of a Fader object upon receiving sysex. I set up a Fader with a script.
When I script ...
Code: Select all
decl FaderName=Fader;
setattribute(FaderName,'unit',arraytostring(subarray(MIDI_ARGS,Start2,Start3-Start2-1)));
But when I script ...
Code: Select all
decl FaderName=Fader;
setattribute(FaderName,'name',arraytostring(subarray(MIDI_ARGS,Start2,Start3-Start2-1)));