Menubar confusion

Russell's icon

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.

Cheers.

Luke Hall's icon

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.

lh

Max Patch
Copy patch and select New From Clipboard in Max.

ch's icon

Hi,

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.

Max Patch
Copy patch and select New From Clipboard in Max.

Ch.

Russell's icon

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,

Russ.

bkshepard's icon

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."