Arbortext Command Language > Functions by Alphabetical Listing > menu_cmd
  
menu_cmd
menu_cmd (menupath)
This function returns the command bound to the menu item specified by menupath. If there is no such menu, it returns the null string. If the menu item specified by menupath is not a command type item, it returns one of the following keywords:
#title — item is a menu title
#menu — item is a pullright menu
#nop — item is not-selectable
#help — item has only help text associated with it.
The menupath is a string that defines the path to the menu. Refer to the related topics for more information on menu paths.
Examples
menu_cmd(".File.Print")
menu_cmd(":EditPopup.Paste")
menu_cmd(".Options.Full Menus")
menu_cmd(".File.Preview.All Passes")
Related Topics
Menu paths
Modifying the default menus
Special characters in menu paths
Shortcut menus