Controlling Inspector parameters per message etc.?

Learn about building and using Max for Live devices.
Post Reply
x9
Posts: 17
Joined: Wed Jun 15, 2011 6:58 am

Controlling Inspector parameters per message etc.?

Post by x9 » Wed Jun 15, 2011 7:00 am

Is there a way to lets say set Enum/Range of a slider by an object or message?

kgmonarch
Posts: 75
Joined: Thu Aug 07, 2003 4:24 pm
Location: under a mountain of unwashed coffee cups
Contact:

Re: Controlling Inspector parameters per message etc.?

Post by kgmonarch » Wed Jun 15, 2011 7:33 am

Sure! Just send it a message like "size 10"

----------begin_max5_patcher----------
310.3ocuSErSCCCC8blz9Ghx4xTZVYpiavuAZBk0D1LpMopIUpvD+6z3tLJi
gfgXbxJumc7yu3ra5DBassS6Xzan2SIjc8HDDKfPh.DVkrqnT5vDYUZmStQy
R1S50cdjvAunooh7CLl1JvTp8XchQn1VeDNMB+n03C2.Bxmwi30RewVvr4gF
cgePoh77ddZZ5RQHlsDOsXFmtJV0PG7OWqGJgwdmKzIirBYX21.xR5c1R0AY
CJjwt9oqDyELD80oSBw9PxekQwu79jH6C9z7KnOw+89jqDT5lS6Foeiabpo9
5E3bJxvsDAGOkw+oi83wpeY9nwZHOVIX9z+FTKAhiFVmssoH1n3VUBcjbTZm
GLROXMiSK7UZbZaAkRiYb3UuBT0Vv32qE5pu9U3LjG++RdAf9va.u6h+pB
-----------end_max5_patcher-----------

x9
Posts: 17
Joined: Wed Jun 15, 2011 6:58 am

Re: Controlling Inspector parameters per message etc.?

Post by x9 » Wed Jun 15, 2011 7:50 am

Thanks, but while size and all the other common box attributes are to be set easily - enum/range and sorts are parameter-object attributes. and max doesn´t understand "steps" or "range" or whatever thats in the "Information about attributes available for Parameter-aware objects" list.


Ehm, and how do I translate your code posted?

broc
Posts: 1151
Joined: Mon Jul 26, 2004 8:37 am

Re: Controlling Inspector parameters per message etc.?

Post by broc » Wed Jun 15, 2011 8:48 am

If you click on '@' at bottom left of the inspector, it shows which attributes can be set by messages.

pid
Posts: 354
Joined: Thu Nov 05, 2009 9:51 am

Re: Controlling Inspector parameters per message etc.?

Post by pid » Wed Jun 15, 2011 10:17 am

and, in the inspector, the @'s that are brown cannot be set dynamically - these set up info to the live application that cannot be changed. whereas the blue @'s CAN be changed on the fly.
3dot... wrote: in short.. we live in disappointing times..

x9
Posts: 17
Joined: Wed Jun 15, 2011 6:58 am

Re: Controlling Inspector parameters per message etc.?

Post by x9 » Wed Jun 15, 2011 3:02 pm

yes, thats exactly the problem.


is there a workaround? maybe someone programmed sliders in c/java whose min/max and steps attributes can be changed while runtime?

Post Reply