Hello there, I have a question concerning Win32 usage. The idea is that
after operations in python i want to turn my monitor off but when i use
Win32 command win32gui.SendMessage(win 32con.HWND_BROADCAST,
win32con.WM_SYSCOMMAND, win32con.SC_MONITORPOWER , 2) the monitor not only
goin off state but the machine is also going sleep mode . My question is :
Is there any way to prevent machine going to sleep ? The only thing i need
is to turn monitor off :)
Greetings ,
Tony
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to