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 

Remapped key is not repeated automatically

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



Joined: 01 Jun 2006
Posts: 14

PostPosted: Wed Apr 02, 2008 11:16 pm    Post subject: Remapped key is not repeated automatically Reply with quote

Hello,

I'm trying to remap Ctrl+j to DOWN in Total Commander:

Code:
^j::Send, {DOWN}


The problem is that while I'm holding down CTRL and press j repeatedly, only one DOWN is sent unless I release CTRL and press again.

Thanks.
Back to top
View user's profile Send private message
Lexikos



Joined: 17 Oct 2006
Posts: 2737
Location: Australia, Qld

PostPosted: Thu Apr 03, 2008 4:18 am    Post subject: Reply with quote

Try:
Code:
$^j::Send, {DOWN}
Simple hotkeys like ^j are usually implemented with RegisterHotkey. $ forces AutoHotkey to implement the hotkey using the keyboard hook, which is generally more reliable. (Not supported on Win9x.)
Back to top
View user's profile Send private message
muse



Joined: 01 Jun 2006
Posts: 14

PostPosted: Thu Apr 03, 2008 4:25 am    Post subject: my mistake Reply with quote

Thank you. I was not aware of this $ prefix and learned something new today.

Though this issue is not related to ahk: I'm using synergy (http://synergy2.sf.net) these days and if I use the local keyboard instead, both ^j and $^j work correctly.
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