doMenu

Simulates a choice from a menu.

# Metadata

Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:

# Syntax

doMenu menuItem [of menu menuName]

# Params

- menuItem : The name of a menu item. - menuName : The name of the menu in which the menuItem appears.

# Examples

doMenu "New Card" of menu "Object"

doMenu (line 10 of tList)

# Description

Use the doMenu command to choose a menu item.

The doMenu command is not implemented for all menu items. This command is included in LiveCode for compatibility with imported HyperCard stacks.

# Tags

# See

- **command:** copy, enable menu, paste - **glossary:** LiveCode, command, menu item, HyperCard - **keyword:** menuItem, menu