chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] OT: Scraping data from Windows app screen


From: Lars Nilsson
Subject: Re: [Chicken-users] OT: Scraping data from Windows app screen
Date: Sat, 17 Sep 2011 11:54:02 -0400

If you can figure out the Windows control id/hwnd you could use the
Windows API to send a WM_GETTEXT command to pick out the text from the
control, possibly.

Relevant documentation might be

http://msdn.microsoft.com/en-us/library/ms632627(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/ms633520(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/ms644928(v=vs.85).aspx

Lars Nilsson

On Sat, Sep 17, 2011 at 9:32 AM, Steve Graham <address@hidden> wrote:
> Thanks, Felix and all who have offered suggestions.  Steve
>
>
> ----- Original Message -----
> From: Felix <address@hidden>
> To: address@hidden
> Cc: address@hidden; address@hidden
> Sent: Saturday, September 17, 2011 7:22 AM
> Subject: Re: [Chicken-users] OT: Scraping data from Windows app screen
>
> From: Steve Graham <address@hidden>
> Subject: Re: [Chicken-users] OT: Scraping data from Windows app screen
> Date: Fri, 16 Sep 2011 13:55:17 -0700 (PDT)
>
>> Okay.
>>
>> Here's the situation.  A group at work is already entering data into a 
>> Windows-based application.  Now they are also supposed to be putting in much 
>> the same data into a 2nd terminal-based app.
>>
>> So, I'm thinking there must be a way to pick up the data already entered 
>> into the first app (i.e. through "scraping" from the 1st app's window) and 
>> automatically place it into the 2nd app.
>
> That would mean you have to OCR the text from the Window-bitmap somehow, 
> right?
> That sounds excessively difficult...
>
> Perhaps it is possible to hook into the Windows API routine that
> writes text ("TextOut" ? I can't remember) and try to make something
> from the input arguments.
>
>
> cheers,
> felix
>
>
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/chicken-users
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]