var c1 = this.patcher.getnamed("controller1");
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.
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.
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))