Forums > MaxMSP

Menubar confusion

Feb 11 2009 | 7:44 pm

Hello Maxers.

I am having real trouble getting my head around the menubar object.

Two things-

1) In the patch I have included I have added my own custom menu. I want to use this menu "Audio/MIDI Setup" for setting up audio and midi settings in their own patches. I have added the necessary ‘/’ to assign keyboard shortcuts to the appropriate subpatches in the menu script. The question is, how do I assign such keyboard shortcuts and menu items to open the assigned patches?

2) I am unclear as to how you can remove items from the other menus ie file, edit etc.

Advance thankx for advice given.


Feb 11 2009 | 8:05 pm

The last outlet of [menubar] will show the number of the additional menus and you can use [select] and [pcontrol] to open your subpatches just like you have for the "about" screen. Here’s an example. The reference pages go into more detail than the help fild so if you haven’t looked there yet I suggest you check it out.


— Pasted Max Patch, click to expand. —

Feb 11 2009 | 8:08 pm


1) You should get a look at the helpfile of [menubar].
Here is a slightly modified version of your patch which open your "audio" patcher when the corresponding menu item is selected.

— Pasted Max Patch, click to expand. —

2) have a look to that post :


Feb 12 2009 | 5:19 pm

Thank You.

I had a look for the file mentioned in the link Ch provided, tried to open it, but the Max window reported the patcher missing!!! as well as other files with the .json extension.

Is it worth me reinstalling Max, cause i’d rather not.

Running a MacBook 10.5.6 and Max/MSP/Jitter 5.0.5

Thanks again,


Feb 13 2009 | 5:40 am

is it not possible to add items to the Window and/or Help menus with [menubar]? I can add items to both File and Edit menus, and to the custom menu, but if I try to add to the Window or Help menu, the Max window says menubar doesn’t understand "window" or "help."

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP