'Switch off the monitor
SendMessageA (take window handle (), #WM_SYSCOMMAND, #SC_MONITORPOWER, 2)
'Open the monitor
SendMessageA (take window handle (), #WM_SYSCOMMAND, #SC_MONITORPOWER, -1)
The above is the relevant handle code for turning off the monitor and turning on the monitor in Easy Language. Thank you for your support.