AutoHotkey Community

It is currently May 27th, 2012, 1:19 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: December 27th, 2011, 6:28 pm 
Everyone is having the same problem, so why is there no fix?

-I think it might be too difficult to control the problem from happening, but how about a solution?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 1st, 2012, 7:49 pm 
Offline

Joined: October 20th, 2011, 3:08 am
Posts: 7
Hi

I've encountered the same problem.

The following code causes the Ctrl key to get stuck:
Code:
Send, \{Enter}

while
Code:
Send, \
Send, {Enter}

doesn't cause any problems.

Interestingly enough, the Ctrl key gets stuck only in SciTE and not in other applications.
Pressing the Ctrl key manually releases it.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 7th, 2012, 4:07 pm 
Offline

Joined: October 13th, 2009, 10:09 pm
Posts: 1389
I've also observed ctrl key getting stuck in SciTE, but I haven't looked after the reason for it...maybe this is it...


Report this post
Top
 Profile  
Reply with quote  
 Post subject: A stuck ctrl key
PostPosted: January 9th, 2012, 9:21 pm 
I've been able to release the stuck key using SUSPEND back-to-back right after using {control down}, etc.

suspend on
suspend off

It seems to work for me.

A stuck ctrl key wrote:
Everyone is having the same problem, so why is there no fix?

-I think it might be too difficult to control the problem from happening, but how about a solution?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2012, 8:44 pm 
Offline

Joined: January 17th, 2012, 8:30 pm
Posts: 4
Yes, I am having the same problem.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 15th, 2012, 12:27 am 
Offline

Joined: February 15th, 2012, 12:25 am
Posts: 1
I was having the stuck modifier problem on some scripts I use while gaming (which are fairly long AND get mashed quickly). I was able to cure it with:

SendMode InputThenPlay

which told the script to use SendInput for any "Send" commands I wrote and if SendInput isn't valid then to try SendPlay. The default "Send" command seems to be the problem.

It won't work for EVERY case out there, but give it a shot to see if it helps you.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 15th, 2012, 5:20 pm 
Offline

Joined: December 3rd, 2011, 9:07 pm
Posts: 176
:mrgreen: I have found interesting the answers of Jahf and Another Guest.
I'll tray with them. Can you give more details about how to insert it into a code?

Meanwhile I leave this to watch if a key is stuck:

Code:
Settimer, EYE, 300
Return

EYE:
GetKeyState, state, Control
if state = D
{
SplashImage,,b x0 y715 H20 W50 ZY0 ZX0 fs9 ct1C3DB8 cw82BD3A, CONTROL, , ,Arial
   SetTimer, CHEkIFupCtrl, 200
Return

CHEkIFupCtrl:
GetKeyState, state, Control
if state = U
  {
   SplashImage, Off
   SetTimer, CHEkIFupCtrl, Off
  }
  Return
}


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 4 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