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 

Disabling remapped key

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



Joined: 09 Nov 2009
Posts: 92

PostPosted: Wed Nov 25, 2009 1:15 am    Post subject: Disabling remapped key Reply with quote

Im trying to disable a remaped key (j::enter), after 5 seconds, Im trying with this (But it doesn't work):

Code:
j::enter
sleep, 5000
Hotkey, *j, off


so I need that, after 5 second, when I press "j" key, I need to write a "j" letter instead of an "enter" key
Back to top
View user's profile Send private message
alexisfch



Joined: 09 Nov 2009
Posts: 92

PostPosted: Wed Nov 25, 2009 2:08 am    Post subject: Reply with quote

any idea
Back to top
View user's profile Send private message
rtcvb32



Joined: 17 Feb 2008
Posts: 289

PostPosted: Wed Nov 25, 2009 2:24 am    Post subject: Re: Disabling remapped key Reply with quote

alexisfch wrote:
Im trying to disable a remaped key (j::enter), after 5 seconds, Im trying with this (But it doesn't work):

Code:
j::enter
sleep, 5000
Hotkey, *j, off


so I need that, after 5 second, when I press "j" key, I need to write a "j" letter instead of an "enter" key


Yes two things. First your hotkey is immediately followed by 'Enter' so it will only execute that line. Second, the *j is wrong, it is just j. This should be the corrected version.


Code:
j::
send {enter}
sleep, 5000
Hotkey, j, off
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
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