[OK] Turn off the screen
Posted: Wed Sep 29, 2021 10:26 pm
Hey.
I'd like to turn off the screen with a simple launch app.
I try to use this API. That is working but the app still do not exit.
Any idea ?
I'd like to turn off the screen with a simple launch app.
I try to use this API. That is working but the app still do not exit.
Any idea ?
Code: Select all
#MONITOR_OFF = 2
SendMessage_(#HWND_BROADCAST, #WM_SYSCOMMAND,#SC_MONITORPOWER, #MONITOR_OFF)