Jump to content
Sign in to follow this  
ZiggyStardust

Is there a routine to flush the keyboard buffer?

Recommended Posts

ZiggyStardust

I have looked high and low. Google until I am blue in the face ;) There are lots of requests for an AutoIt routine to flush the keyboard buffer but I haven't seen anyone come up with a response.

Case being if some idiot just hold down the "A" key and my scripts acts on the "A" key ... I want to act on the first "A" key pressed and then ignor (empty the buffer) of the other million "A"s that are in the buffer.

Something like flush all keys until there is a point when no key has been pressed for a hundreth of a second.....

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  

×