``` doMenu itemName [without dialog] ¬ [with keys ] doMenu itemName, menuName ¬ [without dialog] [with keys ] ``` The doMenu command performs the action specified by the item name and menu name just as if the user chose the item directly from the menu. without dialog bypasses the dialog box that would normally appear after the commands Delete Stack and Convert Stack, and, when a background field is selected, after Cut Field and Clear Field. with keys chooses the named menu command with the shift, option, and/or Command keys pressed. To determine from a script which keys were specified, look at param(6) of the original command. HyperCard sends the `doMenu` command as a message to the current card when the user selects a menu item. `ItemName` is the exact name of the menu item selected, and `menuName` is the exact name of the menu that contains the menu item. To handle the `doMenu` message, use this form: ``` on doMenu theItem,theMenu statements end doMenu ``` Note: A `doMenu` handler can override a `menuMessage`.