Robert, On entry to your eep you need a loop to clear the buffer.
use chkkey to check for a key in the buffer, and getkey to eat it. When no more keys are detected, exit the loop and proceed as you are now. Read the instructions on these commands at http://rsyntax.com/Syntax.htm Dennis McGrath --- [EMAIL PROTECTED] wrote: > Help! > I have been reading the manuals - no help. Recoding and testing - no > progress. > Is there a way to clear the keyboard buffer? Using lastkey in an eep, > press > the F2 key (the key I want to capture), works OK. Next time I click > the mouse, > the eep is run and still captures the F2 key from the buffer and > executes > function (a no no). > > Thank, > Robert B. >

