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

Stephen Eilert spedrosa at gmail.com
Fri Sep 16 23:40:53 EDT 2011


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/e38fdefa/attachment.htm>


More information about the Gambit-list mailing list