win32event.WaitForInputIdle() returns too soon
gagsl-py2 at yahoo.com.ar
Fri Jun 29 06:14:53 CEST 2007
En Thu, 28 Jun 2007 19:15:40 -0300, Hans <NoSpam at Hccnet.nl> escribió:
> I'm sending keyboard and mouse events to a seperate windows application.
> I use win32event.WaitForInputIdle() before calling e.g.
> However it seems that WaitForInputIdle() returns too soon because some
> of my
> events get lost. Now I'v created my own WaitForInputIdle() which calls
From the Microsoft docs for WaitForInputIdle: "The WaitForInputIdle
function only works with GUI applications. If a console application calls
the function, it returns immediately, with no wait."
A typical Python script is a console application.
More information about the Python-list