Re: capturing text from window in external application
Re: capturing text from window in external application
- Subject: Re: capturing text from window in external application
- From: Bill Cheeseman <email@hidden>
- Date: Thu, 27 Dec 2007 06:10:29 -0500
- Thread-topic: capturing text from window in external application
on 2007-12-26 12:51 PM, Franck (Gmail) at email@hidden wrote:
> I'd like to read from an external application the text displayed in
> some kind of buffer text windows in the Full tilt poker application.
> how can i do this ?
If Full Tilt Poker complies with Apple's accessibility API, you can use
accessibility functions. All apps using standard Carbon or Cocoa UI code do
comply with accessibility automatically, but there's no guarantee that a
game does use standard UI code. The documentation for how to use the
accessibility API in a so-called "assistive" application was removed from
Leopard, but the API is public and supported. Look at the "AX" headers in
the HIServices subframework of the ApplicationServices framework.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com
PreFab Software - www.prefabsoftware.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden