On Sat, 13 Jun 2009 14:48:19 +1000, Jacob Rhoden <li...@jacobrhoden.com> wrote:
> Is it possible to write an application that tracks the mouse over any
> application and reads the contents of the text that is under the mouse? > I would like to develop an application that provides context sensitive
> translation as a learning tool.

VoiceOver uses the Accessibility APIs to do this. If you have the developer tools installed run the "Accessibility Inspector" app (in </ Developer/Application/Utilities/Accessibility Tools/>) and watch the info in the utility window change as you move the mouse over different parts of the screen. Note that Accessibility has to be turned on (via the "Universal Access" system preference panel) for this to work.
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to