Wednesday, June 3, 2015

Sleep timer on Windows

I want to run a particular noise generator on my PC (mynoise.net) at night, and have it running for a set length of time before putting the Windows to sleep (I don't want to shut down Windows, just do exactly the same as if I'd hit Start > Power > Sleep).


I would also like the monitors to be off - though I'd rather not use their physical switches, because doing so starts shifting windows around, reconfiguring the primary monitor etc. EDIT: I mean monitors off during the time before sleep, so they don't disturb me in a darkened room, while the noise generator is running.


I've tried simply changing the Power Options, which has settings for "Turn off the display" and "Put the computer to sleep", but


a) I then have to remember to manually change the power options back the next morning. I just want a one-off sleep timer.


b) The noise generator site stops Windows sleeping (probably by design). So I need something that will force sleep, as though I'd selected it through the Start menu.


Any suggestions? Maybe some app that I haven't found, or something like a command line instruction that I can put in a batch file, or trigger with AutoHotkey?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...