Mapping Menu Items

Feb 4, 2013 at 1:19am

Mapping Menu Items

I’d like to be able to choose an item from a menu and have it trigger an output based on the menu item I have selected. I’ve played around with using gates and if/then statements but am not quite getting it right. I’m thinking that coll might be the best way to go? Any input would be much appreciated.

#66340
Feb 4, 2013 at 3:09am

have you tried the umenu object?

#238798
Feb 4, 2013 at 11:46am

Try this:

– Pasted Max Patch, click to expand. –
#238799
Feb 4, 2013 at 12:09pm

Hi,

?

– Pasted Max Patch, click to expand. –
#238800
Feb 4, 2013 at 5:26pm

I'll give those two a shot as well and see what seems to work the best. This is what I had ended up on yesterday (see screenshot). Now I'm just having problems getting Max to print numbers with a 0 before them. The sprintf object is getting me close but always appends characters before the numbers and if I remove the characters (such as “toto”) then it doesn't work.

[attachment=214018,4993]

Attachments:
  1. MSCCalc.png
#238801
Feb 4, 2013 at 5:31pm

Hi,

I think that most folks on this forum prefers “copy compressed” patch than PNG. For instance which kind of commands your [coll] contains ? Just numbers ?

#238802
Feb 4, 2013 at 7:08pm

create a second blanc space with (mac) before %, in order to get a leading zero (01 etc.)
Best

`

– Pasted Max Patch, click to expand. –
#238803

You must be logged in to reply to this topic.