turn monitor off and on

harrismh777 harrismh777 at charter.net
Sat May 14 03:29:02 EDT 2011


harrismh777 wrote:
>>
>> def turnOnMonitor():
>>     SC_MONITORPOWER = 0xF170
>>     win32gui.SendMessage(win32con.HWND_BROADCAST,
>> win32con.WM_SYSCOMMAND, SC_MONITORPOWER, -1)


Wonder what the equivalent of this is in Linux... ?






More information about the Python-list mailing list