Re: [python-win32] Issue with monitor off

2021-06-10 Thread Tim Roberts
anteqqq1 wrote: 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 onl

[python-win32] Issue with monitor off

2021-06-10 Thread anteqqq1
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