###Function###
WinMenuSelectItem

###Description###
Invokes a menu item of a window.

###Syntax###
WinMenuSelectItem ( "title", "text", "item" [, "item" [, "item" [, "item" [, "item" [, "item" [, "item"]]]]]] )


###Parameters###
@@ParamTable@@
title
	The title/hWnd/class of the window to read. See <a href="../intro/windowsadvanced.htm">Title special definition</a>.
text
	The text of the window to read. You can use "" an empty string, in order to avoid checking this parameter.
item
	Text of Menu Item
item
	[optional] Text of SubMenu item
item
	[optional] Text of SubMenu item
item
	[optional] Text of SubMenu item
item
	[optional] Text of SubMenu item
item
	[optional] Text of SubMenu item
item
	[optional] Text of SubMenu item
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	1.
Failure:	0 if the menu could not be found.
@@End@@


###Remarks###
You should note that underlined menu items actually contain a & character to indicate the underlining.  Thus, the menu item <b><u>F</u>ile</b> would actually require the text "&File", and <b>Con<u>v</u>ert</b> would require "Con&vert"  You can access menu items up to six levels deep; and the window can be inactive, minimized, and/or even hidden.

<a href="WinMenuSelectItem.htm">WinMenuSelectItem()</a> will only work on standard menus.  Unfortunately, many menus in use today are actually custom written or toolbars "pretending" to be menus.  This is true for most Microsoft applications.


###Related###
ControlCommand, Send


###Example###
@@IncludeExample@@
