object = accMenuItem(wndID);
Will search for a child accessible object having the ROLE_SYSTEM_MENUITEM role.
A menu item object is used both for menu bar items and popup menu items. The default action (accDoDefaultAction) is to execute the command associated with the item. For items which display a submenu the default action is to show/hide the submenu.
wnd Overview | MS Accessibility