win32gui.FindWindow problems

Darrell Gallion darrell at dorb.com
Fri Nov 10 14:38:45 EST 2000


I started a shell with:
    start "dog"
Which set the title of the shell to "dog"
They tried to use FindWindow to find it.
Any idea what I'm doing wrong?
The goal it to find all windows.

Python 2.0b2 (#6, Sep 26 2000, 14:59:21) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
>>> import win32gui
>>> win32gui.FindWindow("","dog")
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
pywintypes.api_error: (123, 'FindWindow', 'The filename, directory name, or
volu
me label syntax is incorrect.')

Thanks
--Darrell





More information about the Python-list mailing list