menu.deleteMenuCommand

Syntax menu.deleteMenuCommand (adrMenubar, menuName, itemString)

Params adrMenubar is the address of a menubar object in Frontier.root.

menuName is the name of a menu contained within the menu bar.

itemString is the name of the command which you wish to delete from the menu.

Action Deletes a command from the menubar object.

Returns True if the command is found and deleted, false otherwise.

Examples menu.deleteMenuCommand (@system.misc.menubar, "Custom", "Hello")

   » true // deletes a command named Hello from the end of your Custom menu

Notes If the specified item has subheadings, this verb will return false. Use menu.deleteSubMenu to delete items that are submenus rather than commands.

This command is not undoable

See Also menu.addMenuCommand

menu.deleteSubMenu

Discuss