Screen capturing on Windows

Rune Strand rune.strand at gmail.com
Tue Jun 13 05:49:09 EDT 2006


Is it possible by use of pyWin32 or ctypes to make a screen capture of
an inactive, or a hidden window if the hwnd/WindowName/ClassName is
known? I've seen dedicated screen capture software do this. While
PIL.ImageGrab.grab() is excellent, it will only capture the foreground
of the desktop. I've tried for hours, but I soon get helplessly lost in
the labyrinths of the Win32API.




More information about the Python-list mailing list