I am looking for a way to programatically control the power settings (turn display off specifically). The reason is I have photo screensaver that I sometimes want on (like if I am in the room). Other times, I just want the PC to shut off the monitor.
My question is is there a way to programatically change the power settings? I was thinking a batchfile or some shortcut or something. I know I can invoke the screensaver without waiting for it to kick in by executing the .SCR file, but I also want to shut off the display power off mode when I do so.