Arbortext Command Language > Commands > menu_add -menu
  
menu_add -menu
menu_add-menu [ -before] destinationlabel
This command adds a menu to the menu bar. label is the name for the new menu and destination is a menu path indicating the existing menu that the new menu will follow. If -before is specified, the new menu will appear before the destination menu rather than after it.
* 
Underscores, spaces, and periods are not allowed in menu bar labels.
To add a user-defined shortcut menu, you must specify the destination as : (colon) label. You must then add menu items to the shortcut menu, and post it using the menu_popup function.
To add items to your new menu, use the menu_add command without the -menu option.
The following example adds the Test menu to the menu bar after the Tools menu:
menu_add -menu .Tools "Test"
The abbreviation of menu_add is mad.
The following example adds the Test menu to the menu bar before the Find menu:
mad -menu -before .Find "Test"
Related Topics
Modifying the default menus
Using menu paths
menu_add command
menu_copy command
menu_change command
menu_delete command
menu_load command
menu_move command
menu_reset command
menu_save command