[jawsscripts] IsKeyWaiting again

  • From: "Steve Spamer" <stevespamer68@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sat, 27 Oct 2018 21:51:32 +0100

Hi. Ok, from my previous mail regarding this, I've stuck with virtually what 
I had, as it performs the way I want, even if there is a slight difference 
depending on the situation.  Anyway, I have the IsKeyWaiting function used 
in another scenario, but once again, even though it's not a game changer, I 
get behaviour that I can't explain.

The script example is:

Script ControlDown()
If IsKeyWaiting() Then
    PassKeyThrough()
    Return
Else
    TypeCurrentScriptKey()
        SayVelocity()
EndIf
EndScript

This works as expected with the 1 caveat.
I press control down once, all is OK.
I hold control down and all is OK.
I release the keys and hold that combo down again, but only a down arrow 
action is executed.
If I press control down once before holding them down, all works OK.

So, after holding down control down arrow, I have to follow that by a one 
press of control down arrow before it works correctly again.
Equally, if I switch control keys, then it always works.

So, hold down left control down arrow, all works OK.
Then, hold down right control down arrow, all works OK.

I am baffled.  So, does anyone have an explanation or a solution? THX Steve.

Follow me on Twitter: @stevesax123
Visit the samplitude Access website. Jaws scripts for pro recording with 
Samplitude in Windows: www.samplitudeaccess.org.uk 

__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts:

  • » [jawsscripts] IsKeyWaiting again - Steve Spamer