Menubar confusion

Feb 11, 2009 at 7:44pm

Menubar confusion

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.

#42246
Feb 11, 2009 at 8:05pm

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

– Pasted Max Patch, click to expand. –
#151158
Feb 11, 2009 at 8:08pm

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.

– Pasted Max Patch, click to expand. –

2) have a look to that post :

http://www.cycling74.com/forums/index.php?t=msg&goto=140273&rid=0&S=1a2f2003c88115f843f3116af477fe30#msg_140273

Ch.

#151159
Feb 12, 2009 at 5:19pm

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.

#151160
Feb 13, 2009 at 5:40am

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

#151161

You must be logged in to reply to this topic.