Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Is it possible to add an entirely new menu, say menu "CustomApp" on the fly?

For example a CustomApp package could add its own menu "CustomApp" with submenus, ect, once Needed.

Former examples I have seen, only dealt with adding to an existing menu.

share|improve this question
possible duplicate of How make AddMenuCommands work in an init.m –  Szabolcs May 30 '12 at 16:25
Or maybe this one: mathematica.stackexchange.com/q/907/12 –  Szabolcs May 30 '12 at 16:26
I was too quick to mark as duplicate, I am sorry. You are right that the other examples add to existing menus, and don't add a new menu. –  Szabolcs May 30 '12 at 21:00
AFAIK you can only do this by manually altering the MenuSetup.tr file -- but will be interested in other methods are available. –  Mike Honeychurch May 30 '12 at 23:31
@Szabolcs No problem :-) –  magma May 31 '12 at 0:48

1 Answer 1

You can't add an entirely new menu using AddMenuCommands. We have it from John Fultz here:

"AddMenuCommands can only position a menu relative to one with a simple front end token."

(I trust I've not taken that out of context.)

share|improve this answer
I feared that. Still..is it possible to force MMA to read and apply a new MenuSetup.tr file during a session? maybe by restarting the fron-end? –  magma May 31 '12 at 0:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.