Reading text labels from a Win32 window
jUrner at arcor.de
jUrner at arcor.de
Tue Nov 28 16:01:52 EST 2006
geskerrett at hotmail.com schrieb:
> Does anyone know of a way to read text labels from a Win32 application.
> I am familiar with using pywin32 and the SendMessage function to
> capture text from Buttons,text boxex, comboboxes, etc, however, the
> text I am would like to capture doesn't appear to be in a control.
This article tells the whole story
"The secret life of GetWindowText"
http://blogs.msdn.com/oldnewthing/archive/2003/08/21/54675.aspx
And for the headaches, see
"How to retrieve text under the cursor"
http://blogs.msdn.com/oldnewthing/archive/2004/04/23/118893.aspx
Anyway, msdn is the better address for problems like these.
Regards Jürgen
More information about the Python-list
mailing list