[python-win32] getting the contents of a Control in a window
skepsis at blueyonder.co.uk
Tue Apr 12 06:22:49 CEST 2005
Just joined the list. I have been using win32 for a couple of years and of
cause love Python.
I am trying to get the contents of a control in a window, say a TextArea
control or a List or a button etc.
I can programmatically get the window its in and then the controls handle by
enumming the child windows of that window.
I cannot get the contents of that control.
I'm a tester and I need to be able to confirm the contents programmatically
before moving on with the test.
I know there are 3rd party applications out there that can do it so it must
be possible but I cannot use these it has to be python (unless there is a
Python one that I have missed?).
I have dug through the python forums and not found anything so far.
I thought that since this was all about win32 it would be the best place for
an answer or example.
More information about the Python-win32