###Function###
TrayItemSetText

###Description###
Sets the itemtext of a tray menu/item control.

###Syntax###
TrayItemSetText ( controlID, text )


###Parameters###
@@ParamTable@@
controlID
	The control identifier (controlID) as returned by a <a href="../functions/TrayCreateItem.htm">TrayCreateItem</a> or <a href="../functions/TrayCreateMenu.htm">TrayCreateMenu</a> function.
text
	The new text of the tray menu/item control.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	1.
Failure:	0.
@@End@@


###Remarks###
To change the itemtext of the default menuitems (Script Paused/Exit) use the constants $TRAY_ITEM_EXIT and $TRAY_ITEM_PAUSE as controlID.

The above constants are defined in #include <TrayConstants.au3>


###Related###
TrayCreateItem, TrayCreateMenu, TrayItemGetText


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