I have a scriptable PowerKey Pro 650 with which I can turn off desk lights, power down printers, and shut down external speakers with a key combination and toggle all but the printers back on with the same combination. I have another combo to turn the printers back on. I never sleep the CPU. I’d like to add a piece to that script to sleep both of my screens. I don’t need a wakeup call for normal sleep because the key combo that toggles everything else will normally wake the screens too.
I don’t seem to be able to find the right combination of nested tells of applications, processes, windows, and do shell scripts “Sleep & n” to put the screens to sleep (not screensaver mode; the normal energy saver mode).
How is this done? What combination of script elements equates to “Screens Sleep Immediately”?