win32 screen captures

Mark Hammond MarkH at ActiveState.com
Fri Aug 10 22:56:28 EDT 2001


Robin Becker wrote:

> Also the sendkeys command and control is un-robust. Is there a native
> win32com way to do this and perhaps wait on the windows/events I
> initiate before doing the capture?

There is a new "keybd_event" function in win32api.  It is almost 
certainly not in the binary that you have, but could be built from sources.

I have no idea if it allows PrintScreen, but my guess is that it will 
not, and that WSH's version is simply a wrapper around this API function.

Probably-not-much-help ly,

Mark.




More information about the Python-list mailing list