En Tue, 19 Jun 2007 14:57:10 -0300, <[EMAIL PROTECTED]> escribió: >> > #win32event.WAIT_TIMEOUT = 2 --- This just makes the loop >> > never execute because >> > # the WaitFor... part always returns 258 >> >> WAIT_TIMEOUT is 258. How do you see it is 2? >> py> import win32event >> py> win32event.WAIT_TIMEOUT >> 258 > > I meant here that *if* I set the WAIT_TIMEOUT to 2, then I see that > behavior.
Ah, ok! I should have stated clearly that WAIT_TIMEOUT is a Windows predefined constant, not your desired timeout value. > Thank you again Gabriel. I'll post back with something complete. Yes, please, a working example would be nice for future readers... -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list