Hide on Lock patch cords in Max 5?

May 26, 2008 at 10:40pm

Hide on Lock patch cords in Max 5?

Hi, in Max4 I could right click on a patch cord and would get an option to Hide on Lock. How can I hide patch cords upon locking in Max5?

#38068
May 26, 2008 at 10:47pm

Select via clicking or alt/option-dragging and then hit control/command-K to hide, control/command-L to unhide.

#132069
May 26, 2008 at 11:41pm

thx :-)

#132070
May 27, 2008 at 3:31am

if you want to add hide-on-lock (or other useful things like presentation mode) into the contextual menu and feel like tinkering, do a search in your Max5 folder for maxinterface.json and take a gander at your options aplenty…

#132071
May 27, 2008 at 4:47am

Whoa, holy crap is that ever cool!! Talk about a sweet shortcut to customizing the way things work… And a shortcut to completely banjax your system! ;-)

Could be fun to dig around with some interface customization. (Actually, I just added “Encapsulate” to my patcher contextual menu, which is something I’ve often wanted!) I guess this must be one of the reasons they went with juce. Very nice!

Thanks for the tip.

J.

#132072
May 27, 2008 at 5:34am

> I guess this must be one of the reasons they went with juce.

Actually our menu customization stuff has almost nothing to do with JUCE. When we started on it, JUCE didn’t even have native menu bar support on the Mac. But the primary reason we did it was to support translation of the interface into other languages.

David Z.

#132073
May 27, 2008 at 9:44am

Quote: jake rodriguez wrote on Tue, 27 May 2008 05:31
—————————————————-
> if you want to add hide-on-lock (or other useful things like presentation mode) into the contextual menu and feel like tinkering, do a search in your Max5 folder for maxinterface.json and take a gander at your options aplenty…
—————————————————-

when I try to add a shortcut, the next time I open max the whole menu is vanished…Is there a Documentation about the syntax somewhere?
Also, how can I add a command to the contextual-menu (syntax)?

thanks for help

ole

#132074
May 27, 2008 at 10:41am

hmmm – I found maxinterface.json but when I try to open it (either double clicking in finder or opening from File/Open… I get an error message in the Max window:
patcher file maxinterface.json missing patcher!

same for maxclues.json and queryinterface.json which are in teh same folder; the other patchers in teh same folder open fine.

Max 5.0.2 Powerbook G4 1.5, OS X 10.4.11

#132075
May 27, 2008 at 12:54pm

You have to open and edit it with TextPad.

#132076
May 27, 2008 at 1:02pm

can someone please tell the correct syntax for adding a shortcut and for adding the command to the contextual-menu?

thank in advance,

ole

#132077
May 27, 2008 at 1:46pm

You just add the name of the menu item, in quotes, to the list. Make sure the whole entry is formatted properly, as a comma-separated list. I’d imagine that’s what’s wrong in your case.
To find the menu item you want, look through the “menus” section of the file (comes before the contextual menus) – that will ensure that you’re using a name Max actually understands.

J.

#132078
May 27, 2008 at 5:46pm

On May 27, 2008, at 2:44 AM, Ole Schmidt wrote:
> when I try to add a shortcut, the next time I open max the whole
> menu is vanished…Is there a Documentation about the syntax
> somewhere?
> Also, how can I add a command to the contextual-menu (syntax)?

If you’re on a Mac, you can see where Max had problems reading your
edited maxinterface.json by looking at the error messages in the
Console application in your Utilities folder.

It’s probably a missing or misplaced comma in your maxinterface.json
file.

There are a few flavors of contextual menu, depending on what you’re
clicking on. (e.g. boxcontextmenu, multiboxcontextmenu,
patchercontextmenu)

Here’s my boxcontextmenu, which adds three items for the background
layer:
{
“id” : “boxcontextmenu”,
“label” : “Box”,
“commands” : ["help", "-",
"cut
","copy","contextualpaste","clr","-","pastereplace","dialog","bfront",
"back
","addtopresentation
","removefrompresentation","includebg","excludebg","lockbg",
"colorpopup","-","saveprototype","prototype","clientcontext"]
},

-C

Chris Muir
cbm@well.com

http://www.xfade.com

#132079
May 27, 2008 at 7:10pm

thanks for the verbosity- now I see how it works

ole

#132080

You must be logged in to reply to this topic.