I'm trying to use a screen event that looks at notepad (yep this is just a test to see if I can get it to work!) and when "a" appears as if by magic (ok *grin* when I type it in...) then a screen event should fire and show a messagebox.

The code I use is:

Function Main
ret = Wait(1, "ms", "deleteme" )
Until ret = 1
End Function ; Main

I do get a messagebox appearing with "1" shown which proves that the Wait passed - but only about 30+ seconds after the "a" was typed in.

All other events work in only a ms or two - has anyone else noticed screen events being so slow?


colind@profund.com http://www.profund.com

[This message has been edited by Colin Deady (edited 05-16-2002).]