Jump to content

Is there a routine to flush the keyboard buffer?


Recommended Posts

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.....

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...