findItem

>>-findItem--(--label--)---------------------------------------><

Returns the ID of the menu item label. If the specified label does not include an accelerator, the comparison excludes the accelerators of the menu items. If no menu item is found that matches the specified label, 0 is returned.

Example:

f = menu~findItem("&Tools" || "9"x || "Ctrl+T")
    if f \= 0 then menu~processItem(f)