|
Description:
Grab the screen shot on Windows.
Source: Text Source
import win32api, win32con
win32api.keybd_event(win32con.VK_SNAPSHOT, 0)
Discussion:
If you want the active window screen then,
import win32api, win32con
win32api.keybd_event(win32con.VK_SNAPSHOT, 1)
On X Window System, execute the xwd command. But can not screen cast, I want to examine a method.
|