AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Possible: Map kk to Esc, kk::Esc No Good

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
info



Joined: 20 Feb 2008
Posts: 12
Location: Bay Area

PostPosted: Tue Aug 19, 2008 11:18 pm    Post subject: Possible: Map kk to Esc, kk::Esc No Good Reply with quote

Is it possible to map kk to the Esc key. I have been successful at mapping one key to Esc (i::Esc, but then I lose i). AutoHotkey gives me an error when I try to do kk::Esc. I would be grateful for any help or ideas.
Back to top
View user's profile Send private message
Guest






PostPosted: Tue Aug 19, 2008 11:30 pm    Post subject: Reply with quote

Code:
~k::
if (A_ThisHotKey==A_PriorHotkey && A_TimeSincePriorHotkey < 500)
    Send, {ESC}
Return
Back to top
SpiderGames



Joined: 09 Jun 2008
Posts: 464
Location: Canada

PostPosted: Tue Aug 19, 2008 11:31 pm    Post subject: Reply with quote

first one...
Code:

~i::Esc

lets u use I

and the second one there is a way.

I know it.

But you can look it up in the help menu.
Chop Chop
_________________

Xfire: SpiderGames77
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
info



Joined: 20 Feb 2008
Posts: 12
Location: Bay Area

PostPosted: Wed Aug 20, 2008 1:12 am    Post subject: Excellent! Reply with quote

Anonymous wrote:
Code:
~k::
if (A_ThisHotKey==A_PriorHotkey && A_TimeSincePriorHotkey < 500)
    Send, {ESC}
Return

Guest, coolness dude, that works quite well for the situation I had in mind. Thanks a lot! Spider, sounds fair, appreciate both of you helping me out. Have a good evening...
Back to top
View user's profile Send private message
info



Joined: 20 Feb 2008
Posts: 12
Location: Bay Area

PostPosted: Fri Aug 22, 2008 6:59 pm    Post subject: Reply with quote

Anonymous wrote:
Code:
~k::
if (A_ThisHotKey==A_PriorHotkey && A_TimeSincePriorHotkey < 500)
    Send, {ESC}
Return

Is it possible to stop the kk from printing to screen?
Back to top
View user's profile Send private message
Sungsoo



Joined: 08 Jul 2008
Posts: 9

PostPosted: Fri Aug 22, 2008 7:11 pm    Post subject: Reply with quote

info wrote:
Is it possible to stop the kk from printing to screen?


Hello!

Code:
~k::
if (A_ThisHotKey==A_PriorHotkey && A_TimeSincePriorHotkey < 500)
SEND, {BS 2}{ESC}


_______________________
Sungsoo
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group