Why am I unable to put my computer to sleep by script when my screen saver is activated and protected by a password ? Is it possible to bypass this ?
I have a handler that runs in background. It puts my computer to sleep under certain conditions and when left inactive. Very often this background process works behind the screen saver. Because my screen saver is password protected, how can I put it back to sleep by script ?
Thanks in advance.