| View previous topic :: View next topic |
| Author |
Message |
info
Joined: 20 Feb 2008 Posts: 12 Location: Bay Area
|
Posted: Tue Aug 19, 2008 11:18 pm Post subject: Possible: Map kk to Esc, kk::Esc No Good |
|
|
| 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 |
|
 |
Guest
|
Posted: Tue Aug 19, 2008 11:30 pm Post subject: |
|
|
| 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
|
Posted: Tue Aug 19, 2008 11:31 pm Post subject: |
|
|
first one...
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 |
|
 |
info
Joined: 20 Feb 2008 Posts: 12 Location: Bay Area
|
Posted: Wed Aug 20, 2008 1:12 am Post subject: Excellent! |
|
|
| 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 |
|
 |
info
Joined: 20 Feb 2008 Posts: 12 Location: Bay Area
|
Posted: Fri Aug 22, 2008 6:59 pm Post subject: |
|
|
| 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 |
|
 |
Sungsoo
Joined: 08 Jul 2008 Posts: 9
|
Posted: Fri Aug 22, 2008 7:11 pm Post subject: |
|
|
| 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 |
|
 |
|