Thomas ,

but a kbhit() function won't, unlike get or gets, stop the Script Execution ...

sample of how to FlushKB with Shawns Kixlib32.dll :

code:

$kixlib = createobject("kixlib32.library")
while $kixlib.kbhit
get $k
loop

You won't be able to do this with pure Kix !

Jochen


btw. : Welcome 'on board'

[This message has been edited by jpols (edited 26 June 2001).]

_________________________