Esc to close window

Share your favorite FastKeys commands
Post Reply
MirrorLa
Posts: 2
Joined: Aug 28th, ’13, 01:08

Post by MirrorLa » Jun 3rd, ’13, 00:29

Hi, I really like double esc for closing windows. The alternative would be to have a shortcut for closing by holding esc key a little longer. Would it be possible to create such command?

Thanks and congratulations for a good work.
User avatar
Marko
Posts: 1719
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Jun 3rd, ’13, 23:47

Of course. :D
Try this one:

Shortcut: $Escape
Command:

Code: Select all

KeyWait, Escape, T0.5      ; half a second - change to your preference
If ErrorLevel
   PostMessage, 0x112, 0xF060,,, A
Else 
   Send {Esc}
Tesla
Posts: 1
Joined: May 17th, ’13, 15:51

Post by Tesla » Aug 15th, ’13, 15:55

Great find, thanks. This should be put to preset library.
User avatar
Marko
Posts: 1719
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Aug 19th, ’13, 12:39

It is already in.
Opelist
Posts: 1
Joined: May 17th, ’13, 15:44

Post by Opelist » Dec 12th, ’16, 07:03

Great idea, so useful, thanks.
Post Reply