Sign in to follow this  
Followers 0
KNA

Ctrl, Shift, Alt getting "stuck" down with Send()

2 posts in this topic

I have seen this problem documented before* and am aware of the _SendEx workaround.

As far as I understand the problem occurs when ctrl, shift or alt are held down when Send() is called and if the key is released before the send function finishes, then that key will get "stuck" down, and will require a physical key press to release it.

My question is regarding SendKeyDownDelay

Opt("SendKeyDownDelay",...) alters the length of time a key is held down before being released during a keystroke.

What is the default value of SendKeyDownDelay? can it be set to 0? If it were set to 0 (or it's lowest bound) would this not reduce the likelihood of the above problem occuring to almost nothing? (ie, if the delay is 0, then the chances of me physically releasing the ctrl key while send() works should be virtually impossible)

Any help you can offer would be greatly appreciated!

*for anyone unfamiliar with the problem the following threads describe it in more detail and contain information about _SendEx

Share this post


Link to post
Share on other sites



OK I just tested this and it does not work, unfortunately. I was able to recreate the Bug even with a delay of 0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0