Win32GUI Question...

Mark Hammond MarkH at ActiveState.com
Sun Jun 24 03:10:29 CEST 2001


Bill Rodgers wrote:

> I have an app that occasionally puts a notification dialog on the screen of
> my PC.  I want to create a program that detects the presence of this new
> dialog box,then reads the dialog's contents and does some other things with
> the data.
> 
> Is there any way to have my Python program detect and examine windows
> created by another program?
> 

See my post regarding "closing a windows app" just a few days ago.  It 
demonstrates how to enumerate all top-level windows and get the text of 
the window.  This can be expanded to enumerate children windows and get 
their text, etc.

Mark.




More information about the Python-list mailing list