[Tutor] 200 dollar questions!

Alan Gauld alan.gauld at btinternet.com
Sun Jul 1 10:15:14 CEST 2007


"elis aeris" <hunter92383 at gmail.com> wrote 

> import win32ui
> window = win32ui.FindWindow(None, "123.txt")
> yourwindow.ShowWindow()

The title is incorrect.
A Notepad window has a title like:

123.txt - Notepad

So thats what you need to search for.

I told you Windoze APIs were flakey! :-)

Alan G



More information about the Tutor mailing list