Re: Monitoring a menu item's enabled state
Re: Monitoring a menu item's enabled state
- Subject: Re: Monitoring a menu item's enabled state
- From: Kieren Eaton <email@hidden>
- Date: Tue, 16 Dec 2008 09:26:12 +0900
I'm sorry. I should have been more specific. I am looking to observe
the menu item state of another application's menu item. From my
appkit experience, I should have remembered that the responder chain
looks to see if an object responds to a selector for the menu item
of interest.
I am building a foating panel that can sit on top of a third-party
application we use at work. The application in question has a ton of
nested menus without shortcuts requiring people to slog their way
through menus. I wanted to map a button on my floating panel to a
menuitem's action making people's jobs easier. I would like to bind
the button's enabled state to the menuitem's enabled state. I can
see why this is functionally impractical though.
Alternatively and this is not recommended but it works for some
applications, have you tried editing the menu nib of the application
in question?
ie do a show contents of the app and open the nib in IB then you can
add shortcuts or accessibility tags to your liking.
This may not be possible if the menu is dynamically built like the
recent files menu.
I have done this for several apps that had no accessibility tags for
given items and it made VO work correctly with them.
Its not the same as what your trying to do but might be the easier way
than building a "monitoring" application.
HTH
Kieren
Olearia - Bringing Talking Books to Mac OS X
http://olearia.googlecode.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden