topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 6:55 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA : sleep on click, wakeup with Esc  (Read 4022 times)

joiwind

  • Participant
  • Joined in 2009
  • *
  • Posts: 486
  • carpe momentum
    • View Profile
    • Donate to Member
IDEA : sleep on click, wakeup with Esc
« on: November 18, 2009, 05:56 AM »
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

  • Participant
  • Joined in 2009
  • *
  • Posts: 486
  • carpe momentum
    • View Profile
    • Donate to Member
Re: IDEA : sleep on click, wakeup with Esc
« Reply #1 on: November 18, 2009, 10:11 AM »
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 ?
« Last Edit: November 18, 2009, 12:18 PM by joiwind »

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: IDEA : sleep on click, wakeup with Esc
« Reply #2 on: November 18, 2009, 05:31 PM »
have you looked at 'BlockInput'?

joiwind

  • Participant
  • Joined in 2009
  • *
  • Posts: 486
  • carpe momentum
    • View Profile
    • Donate to Member
Re: IDEA : sleep on click, wakeup with Esc
« Reply #3 on: November 19, 2009, 11:29 AM »
Thanks Target - I'll give that a go (hadn't seen that routine).