AutoHotkey Community

It is currently May 26th, 2012, 11:18 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: November 16th, 2009, 10:17 am 
Offline

Joined: November 16th, 2009, 7:55 am
Posts: 7
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!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 16th, 2009, 10:54 am 
Online

Joined: April 8th, 2009, 7:49 pm
Posts: 6067
Location: San Diego, California
How are you determining that you are "getting extra CTRL keys generated by AHK"?

What program are you testing this script with ?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 16th, 2009, 10:59 am 
Offline

Joined: November 16th, 2009, 7:55 am
Posts: 7
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 16th, 2009, 11:38 am 
Offline

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 16th, 2009, 11:51 am 
Offline

Joined: November 16th, 2009, 7:55 am
Posts: 7
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/viewtop ... sc&start=0


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Cerberus, Google [Bot], Google Feedfetcher, Maestr0, rbrtryn, Tipsy3000, XstatyK and 64 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