You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<example>doMenu <i>menuItem</i> [of menu <i>menuName</i>]</example>
</syntax>
<synonyms>
</synonyms>
<summary>Simulates a choice from a <keywordtag="menu">menu</keyword>.</summary>
<examples>
<example>doMenu "New Card" of menu "Object"</example>
<example>doMenu (line 10 of tList)</example>
</examples>
<history>
<introducedversion="1.0">Added.</introduced>
<deprecatedversion=""></deprecated>
<removedversion=""></removed>
<experimentalversion=""></experimental>
<nonexperimentalversion=""></nonexperimental>
</history>
<objects>
</objects>
<platforms>
<mac/>
<windows/>
<linux/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
</classes>
<security>
</security>
<classification>
<category>Menus</category>
</classification>
<references>
<commandtag="enable menu">enable menu Command</command>
<commandtag="copy">copy Command</command>
<commandtag="paste">paste Command</command>
<keywordtag="menuItem">menuItem Keyword</keyword>
<keywordtag="menu">menu Keyword</keyword>
</references>
<description>Use the <b>doMenu</b> <glossarytag="command">command</glossary> to choose a <glossarytag="menu item">menu item</glossary>.<p></p><p><b>Parameters:</b></p><p>The <i>menuItem</i> is the name of a <glossarytag="menu item">menu item</glossary>.</p><p></p><p>The <i>menuName</i> is the name of the <keywordtag="menu">menu</keyword> in which the <i>menuItem</i> appears.</p><p></p><p><b>Comments:</b></p><p>The <b>doMenu</b> <glossarytag="command">command</glossary> is not implemented for all <glossarytag="menu item">menu items</glossary>. This command is included in <glossarytag="LiveCode">LiveCode</glossary> for compatibility with imported <keywordtag="top">HyperCard</keyword> stacks.</p></description>