AutoHotkey Community

It is currently May 27th, 2012, 2:47 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Disabling remapped key
PostPosted: November 25th, 2009, 2:15 am 
Offline

Joined: November 9th, 2009, 4:24 pm
Posts: 94
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 25th, 2009, 3:08 am 
Offline

Joined: November 9th, 2009, 4:24 pm
Posts: 94
any idea


Report this post
Top
 Profile  
Reply with quote  
PostPosted: November 25th, 2009, 3:24 am 
Offline

Joined: February 17th, 2008, 7:09 am
Posts: 536
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


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: rbrtryn, XstatyK and 23 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group