ctrl/alt/shift stuck in down position Topic is solved
Re: ctrl/alt/shift stuck in down position
I ran your script and did not find any leakage or issue. You can check KeyHistory to understand what is happening with the keys.
Re: ctrl/alt/shift stuck in down position
Hold down Alt and 1 together, eventually the keyboard stops spamming the alt and begins just spamming the 1, even with you still pressing both keys.
Re: ctrl/alt/shift stuck in down position
It worked here, but another way to do it is to use blind mode to send just the last character. That circles us back to your original script! You could insert a short sleep inside your loop there.
Code: Select all
F7::
on := !on
SoundBeep, 1000 + 500 * on
Return
#UseHook
#If on
a::
b::
+b::
!+b::
hk := SubStr(A_ThisHotkey, 0)
While GetKeyState(hk, "P") {
Send {Blind}%A_ThisHotkey%
Sleep, 15
}
Return
#If
#UseHook Off
Re: ctrl/alt/shift stuck in down position
That seems to work perfectly so far! I'll let you know if I have any more issues. Thanks so much for your help and generosity (:
Who is online
Users browsing this forum: No registered users and 50 guests