script to display (unfold) the items of umenu

Dec 6, 2009 at 2:05am

script to display (unfold) the items of umenu

Dear users,

can we unfold (display) the items of a umenu without clicking the umenu?
I have tried to find a script.
I cannot find anything….


Dec 6, 2009 at 4:43am

Like this?


– Pasted Max Patch, click to expand. –
Dec 6, 2009 at 9:18am

I mean, however, the umenu itself should unfolded without mouse click.
In your patch, we see the items as a message and umenu is not expanded.

Dec 7, 2009 at 2:15am

Oh right, now I see. I’m afraid the answer is “no”. This isn’t possible at the moment but you can step through the items with the “prev” and “next” messages. What are you trying to do?


Dec 7, 2009 at 8:06am

Like you see on websites sometimes, hovering with the mouse will unfold it (which creates a horrendously nervous user interface when no delay is used). You could give it a try with the lcd object. All tools are there: writing, mouse tracking, changing size.


Dec 13, 2009 at 3:51pm

thanks a lot.
I have given up this idea.
lcd object can not expand the umenu.


Dec 13, 2009 at 6:18pm

You are right: [lcd] cannot expand [umenu] but I think what Johan meant was that you could code your own [umenu] replacement with [lcd] that does exactly what you want. The [jsui] object would be another option.


Dec 14, 2009 at 6:54pm

I’m not sure this helps,but Martin Ritters LoadMedia patch has a umenu that loads into jit.cellblock which is basically an ‘unfolded’ umenu. Here’s his patch so you can see if his idea is helpful

– Pasted Max Patch, click to expand. –
Dec 14, 2009 at 10:22pm

Something like this is what I had in mind:

– Pasted Max Patch, click to expand. –


Dec 15, 2009 at 2:39am

nice !

Dec 17, 2009 at 12:31am

Why won’t this work.. ?

– Pasted Max Patch, click to expand. –
Dec 17, 2009 at 12:45am

it only took me 15 minutes to realize I’m an idiot

Dec 17, 2009 at 12:58am

Search the forum for the “autobot” [mxj] class and you can use [sel] to send it the “mouseclick 1″ message when your mouse [hover]s over a [umenu] with a certain scripting name.


– Pasted Max Patch, click to expand. –
Dec 17, 2009 at 3:57am

i couldnt find the mxj autobot.. aka.mouse works fine

– Pasted Max Patch, click to expand. –
Dec 20, 2009 at 2:05am

the java “robot” class will work cross-platform though.

also there is the

;max pupdate $1 $2

message which will move your mouse wherever. add the robot class and you can auto-click anywhere you want, including the Shut Down command for your computer…or someone else’s if you get into networking. evil and fun!

Dec 25, 2009 at 10:15pm

to Luke Hall

I have not understood the comment in your patch:

< < replace this with the real autobot mxj

What does it mean?

Dec 25, 2009 at 10:18pm

to stoplaughing

it is fine.

Dec 25, 2009 at 10:35pm

The [mxj autobot] java class is not included in the standard max distribution but you should be able to find it on the forum, I recently linked to the code for someone as attachments have been broken.



You must be logged in to reply to this topic.