sendMenuCommand

>>-sendMenuCommand--(--id--)-----------------------------------><

Selects the menu item id of the associated window. Method idOf returns the ID of a menu item.