<doc>
	<legacy_id>1686</legacy_id>
	<name>doMenu</name>
	<type>command</type>

	<syntax>
		<example>doMenu <i>menuItem</i> [of menu <i>menuName</i>]</example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Simulates a choice from a <keyword tag="menu">menu</keyword>.</summary>

	<examples>
<example>doMenu "New Card" of menu "Object"</example>
<example>doMenu (line 10 of tList)</example>
	</examples>

	<history>
		<introduced version="1.0">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		
		<experimental version=""></experimental>
		<nonexperimental version=""></nonexperimental>
	</history>

	<objects>
	</objects>

	<platforms>
		<mac/>
		<windows/>
		<linux/>
	</platforms>

	<classes>
		<desktop/>
		<server/>
		<web/>
	</classes>

	<security>
	</security>


	<classification>
		<category>Menus</category>
	</classification>

	<references>
		<command tag="enable menu">enable menu Command</command>
		<command tag="copy">copy Command</command>
		<command tag="paste">paste Command</command>
		<keyword tag="menuItem">menuItem Keyword</keyword>
		<keyword tag="menu">menu Keyword</keyword>
	</references>

	<description>Use the <b>doMenu</b> <glossary tag="command">command</glossary> to choose a <glossary tag="menu item">menu item</glossary>.<p></p><p><b>Parameters:</b></p><p>The <i>menuItem</i> is the name of a <glossary tag="menu item">menu item</glossary>.</p><p></p><p>The <i>menuName</i> is the name of the <keyword tag="menu">menu</keyword> in which the <i>menuItem</i> appears.</p><p></p><p><b>Comments:</b></p><p>The <b>doMenu</b> <glossary tag="command">command</glossary> is not implemented for all <glossary tag="menu item">menu items</glossary>. This command is included in <glossary tag="LiveCode">LiveCode</glossary> for compatibility with imported <keyword tag="top">HyperCard</keyword> stacks.</p></description>
</doc>