Conditional interactivity?

Jul 5, 2012 at 3:55pm

Conditional interactivity?

Hello,

I’ve been wondering if is it possible to make the interaction with certain objects conditional, say having a number box ‘ignore clicks’ option enabled/disabled by a toggle, without using the inspector.

Also I would like to ask if visual display can be made conditional as well, say hidding/showing some object according to the state of another; or changing the color of a number box according to it’s value.

Thanks in advance!

#39884
Jul 5, 2012 at 4:10pm

Hello,

Yep, using attributes ; to find them :

1. click on the inlet of the object or
2. open the inspector ; select : @ “Show Attribute Names” !

HTH

– Pasted Max Patch, click to expand. –
#140648
Jul 5, 2012 at 5:07pm

most of these things can be sent to the obejct as a message command. see reference or online doucumentation or leftmost inlet descriptions.

existance, position, or size ob a GUI object can be controlled easily using scripting, or using the offset command if it is inside a bpatcher.

-110

#140649
Jul 5, 2012 at 5:12pm

Did you know that you can drag fields from the inspector to your patch, and that a message will be created which is appropriate to that field? Drag from the name of a parameter to the patcher and enjoy.

#140650
Jul 5, 2012 at 5:22pm

Thank you all very much! :)

#140651

You must be logged in to reply to this topic.