GUI Help > Menus > getMenuItemText
getMenuItemText
str text=getMenuItemText(handle menu, int item)
Description: Retrieves the text of a menu item.
Return Value: The text of the menu item.
Parameters:
menu | Handle of a menu
item | The number of the item which you wish to examine, this is the number you assigned with addMenuItem
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)