ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA : sleep on click, wakeup with Esc

(1/1)

joiwind:
I've tried looking through the forum with search for "sleep" but there are really too many references !

What I'd like : to put my PC to sleep with a click on a gui button and then be able to wake it up with the Esc key and ONLY with the Esc key.

Why ? : because with other progs you wake up the PC by moving the mouse -
this is no good for me because either my companion inadvertently moves the mouse when she's on the phone or whatever, or it's the cat that jumps up on the desk and moves the mouse !!!  ;D

Anyone like to have a try please ?

joiwind:
It's OK - I've done it meself... except that I can't stop the mouse action waking it up ...???

I can't find a AHK routine which avoids that call - any help please ?

Target:
have you looked at 'BlockInput'?

joiwind:
Thanks Target - I'll give that a go (hadn't seen that routine).

Navigation

[0] Message Index

Go to full version