Forums > Javascript

Renaming a Live dial

March 14, 2011 | 1:53 am


I’m am trying to rename a live.dial in a javascript using the following:

var c1 = this.patcher.getnamed("controller1");"new name";

This does’t seem to work, neither does "shortName". I’m shooting in the dark as to what property/method I should use. Or maybe I should be using the Live API. I don’t seem to be having much success at firing a "set name xxx" message at a live.object either.

March 14, 2011 | 4:06 am

As with most parameter attributes, this cannot be changed programatically. Live needs to know things such as the name, range, unit style, modulation mode, etc, when the object is instantiated in Live. The only supported way to change these things is via the object inspector (or the ‘Parameters’ window) in the Max editor.


March 16, 2011 | 2:14 pm

Thanks for that info.

Did I not want to hear that :)

March 28, 2012 | 4:30 pm

Any chance of providing ways of doing this at instantiation time? (I’m guessing that would be safe?)

I’m working on something that automatically constructs guis, and it would be really nice if I could use the live. objects for this, since they have so many useful features built-in. (like the rawfloat (or instant midi mapping message as I tend to think of it))

December 17, 2014 | 10:25 am

Send a message to any live.object saying _parameter_shortname $1 $2 to change the name after initialization

Viewing 5 posts - 1 through 5 (of 5 total)