Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Change the name attribute via script

Fritz Mar 17, 2017 03:56AM CET

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 ...
decl FaderName=Fader;
setattribute(FaderName,'unit',arraytostring(subarray(MIDI_ARGS,Start2,Start3-Start2-1)));

.. the display in "unit" is exactly what I sent via Sysex.

But when I script ...
decl FaderName=Fader;
setattribute(FaderName,'name',arraytostring(subarray(MIDI_ARGS,Start2,Start3-Start2-1)));

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

Up 0 rated Down
Liine Support Apr 14, 2017 06:56AM CEST Liine Agent
The 'name' attribute is read-only

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
support@liine.net
http://assets3.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete