Standard menu command

Command group Flag affected Reversible Execute on client Platform(s)
Menus NO NO NO All

Syntax

Standard menu command command

Standard menu command ([non-modal]) command

Description

This command performs the standard functionality of an option from one of the standard menus such as the File menu. This command can prove useful when defining a new menu class to replace a standard menu using Replace standard file menu or Replace standard edit menu.

If the 'non-modal' option is used on a menu command that opens a dialog, where possible the dialog is opened in a non-modal state. For example, the Find & Replace window opens as a non-modal window.

Example

# Execute the 'Open Library' option from
# the standard edit menu
Standard menu command *File/11020 {Open Library...}