| View previous topic :: View next topic |
| Author |
Message |
HKPolice
Joined: 16 Nov 2009 Posts: 7
|
Posted: Mon Nov 16, 2009 9:17 am Post subject: How to disable extra CTRL keys that AHK is generating?? |
|
|
I am using this script now:
| Code: | Ins::Suspend
*LButton::
while GetKeyState("LButton", "P") ; While the Mouse1 key is being held down physically.
{
Send {Blind}{Click}
SetMouseDelay 30
}
return |
Even with the Blind command, I am STILL getting extra CTRL keys generated by AHK when holding ALT, Pressing Mouse1 then letting go of ALT.
This is driving me insane, can someone PLEASE tell me how to disable the extra CTRL inputs?
Thanks in advance! |
|
| Back to top |
|
 |
Leef_me
Joined: 08 Apr 2009 Posts: 5336 Location: San Diego, California
|
Posted: Mon Nov 16, 2009 9:54 am Post subject: |
|
|
How are you determining that you are "getting extra CTRL keys generated by AHK"?
What program are you testing this script with ? |
|
| Back to top |
|
 |
HKPolice
Joined: 16 Nov 2009 Posts: 7
|
Posted: Mon Nov 16, 2009 9:59 am Post subject: |
|
|
| Leef_me wrote: | How are you determining that you are "getting extra CTRL keys generated by AHK"?
What program are you testing this script with ? |
It is showing in AHK's own Key history:
A4 038 d 0.00 Alt
01 000 i u 0.03 LButton
A4 038 d 0.00 Alt
01 000 s u 0.00 LButton
A4 038 d 0.03 Alt
A4 038 d 0.03 Alt
A4 038 u 0.02 Alt
A2 01D i d 0.00 Ctrl
A2 01D i u 0.00 Ctrl
Arghhh
Is there any way for AHK to ignore all keyboard inputs? I tried preventing the keyboard hook from installing by putting #UseHook OFF in front of the LButton remap but the KB hook was still loading. |
|
| Back to top |
|
 |
rtcvb32
Joined: 17 Feb 2008 Posts: 289
|
Posted: Mon Nov 16, 2009 10:38 am Post subject: |
|
|
I have tried the script and i see the same thing, However the elapsed time is 0.00. It's entirely possible it's too fast for anything to pick up. Is it interfering in some way?
Easiest solution is NOT to press ALT and release it with this hotkey. But i don't see the Ctrl being an issue at this time. |
|
| Back to top |
|
 |
HKPolice
Joined: 16 Nov 2009 Posts: 7
|
Posted: Mon Nov 16, 2009 10:51 am Post subject: |
|
|
| rtcvb32 wrote: | I have tried the script and i see the same thing, However the elapsed time is 0.00. It's entirely possible it's too fast for anything to pick up. Is it interfering in some way?
Easiest solution is NOT to press ALT and release it with this hotkey. But i don't see the Ctrl being an issue at this time. |
Yes, it is interfering with the games I play. CTRL changes weapons. This is a huge design flaw and there is a huge thread about it here: http://www.autohotkey.com/forum/viewtopic.php?t=22378&postdays=0&postorder=asc&start=0 |
|
| Back to top |
|
 |
|