Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Third part application menu item hotkeys ????

Hi folks !


I would like to be able to access title and corresponding hotkeys (when existing) of every menuitems of a menubar, thanks to the accessibility API. I currently see how to retrieve the focus application and have access to its menubar, all I have now is to browse its elements.


Using the UIElementInspector, it seems like the accessibility API can help me to retrieve every menuitem of the menubar, and its corresponding title. However, I haven't been able to find a way to get corresponding hotkeys. While I thought the AXMenuItemCmdVirtualKey could help me, I haven't been able to find any application that has values associated to this field.



Does any one have an idea on how I should proceed to retrieve these hotkeys (if possible) ?


Thanks in advance for your help !


cheers

Posted on Nov 15, 2011 8:17 PM

Reply

There are no replies.

Third part application menu item hotkeys ????

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.