menuItem

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
menuItem
Summary

Used with the disable menu, doMenu, enable menu, and select commands, to designate a menu item in a menu.

Introduced1.0
OSmac, windows, linux
Platformsdesktop, server
Example
enable menuItem 3 of button "Externals"
select menuItem 2 of menu "File"
RelatedKeyword: menu
Property: commandChar, menuMessage, checkmark
Command: select, doMenu, disable menu, enable menu
Glossary: menu item, command, keyword
Description

Use the menuItem keyword to enable or disable a menu item, or to perform a menu action.

Unlike menus, menu items must be specified by number. The topmost item in a menu is numbered 1.

Tagsmenus