Re: menu item status

2011-09-07 Thread gweston
I am trying to determine the state of a menu item in another application. I have tried via AppleScript UI scripting, and via AppleScript Studio's state of menu item. I am coming up empty. I can get to the menu and select the item fine - but I can't get the status. I am interested whether or not

Re: menu item status

2011-09-06 Thread Tim Schröder
One way which should work would be to use the Accessibility Framework (NSAccessibility Protocol, Carbon Accessibility Reference and AXUIElement.h), but you would have to make your application a trusted app or ask the user to enable accessibility access. There is a AXMenuItemMarkChar type in the