Menu.findMenuItem


findMenuItem(item, menu, index)

Given the label or ID of an existing menu item, this function returns whether or not the item was found. If the item was found, the menu and index arguments are modified to suit. If the item was not found, these arguments are left unmodified. If more than one menu item exists with the given label/ID, it is arbitrary which one will returned.

itemstring or long menu item to be found
menuMenu returned menu if found
indexinteger returned index within menu if found
Return valuebooleantrue if found, false otherwise

Back to Menu

Back to Overview