[gambit-list] OT: Scraping data from Windows app screen

Steve Graham jsgrahamus at yahoo.com
Sat Sep 17 08:59:17 EDT 2011


Thanks, Stephen.  Steve


________________________________
From: Stephen Eilert <spedrosa at gmail.com>
To: Steve Graham <jsgrahamus at yahoo.com>
Cc: "gambit-list at iro.umontreal.ca" <gambit-list at iro.umontreal.ca>
Sent: Friday, September 16, 2011 9:40 PM
Subject: Re: [gambit-list] OT: Scraping data from Windows app screen





On Fri, Sep 16, 2011 at 9:43 PM, Steve Graham <jsgrahamus at yahoo.com> wrote:

Hadn't really thought of that.  Great idea.  Thanks, Steve.

Of course, if you find out that you really need to scrape the data (weird storage format, concurrency issues, etc), you'll have to talk to the API. At the very minimum, you'll have to send messages to the text fields (WM_GETTEXT).

Something like this:

http://stackoverflow.com/questions/352236/reading-from-a-text-field-in-another-applications-window

I have no need to do anything on Windows these days, so I've never used the win32 API with Chicken. However, since it is something that's easy to do in C, it shouldn't be that difficult to come up with a solution on both Chicken and Gambit.


-- Stephen


"Kids these days.
Whatever happened to hard work?

       -- Joel Spolsky, The perils of javaschools"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20110917/0cef24d7/attachment.htm>


More information about the Gambit-list mailing list