 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
alexisfch
Joined: 09 Nov 2009 Posts: 92
|
Posted: Wed Nov 25, 2009 1:15 am Post subject: Disabling remapped key |
|
|
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 |
|
 |
alexisfch
Joined: 09 Nov 2009 Posts: 92
|
Posted: Wed Nov 25, 2009 2:08 am Post subject: |
|
|
| any idea |
|
| Back to top |
|
 |
rtcvb32
Joined: 17 Feb 2008 Posts: 289
|
Posted: Wed Nov 25, 2009 2:24 am Post subject: Re: Disabling remapped key |
|
|
| 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 |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|