Clearing the keyboard buffer

C

coetzee.evert

Hi guys

I'm using sendkeys in excel to send keystrokes to an application. I
don't send them with the WAIT as yes so control returns immediately to
excel even though the other application is still processing the sent
keys.

Sometimes the other application goes haywire and I would like to clear
the keyboard buffer of it before it handles all the remaining keys
incorrectly. Is there any way I cando they through excel?

E.g. press a butten and it flushes the keystrokes buffer of the last
application that you sent the keys to?

I presume there must be an API somewhere for it.

Regards
CE Auke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top