Renaming a Live dial

Mar 14, 2011 at 1:53am

Renaming a Live dial

Hi

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

var c1 = this.patcher.getnamed(“controller1″);
c1.name=”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.

#55528
Mar 14, 2011 at 4:06am

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.

-Ben

#199753
Mar 16, 2011 at 2:14pm

Thanks for that info.

Did I not want to hear that :)

#199754
Mar 28, 2012 at 4:30pm

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))

#199755

You must be logged in to reply to this topic.