Any one know how to make a script wait until a specific key is pressed and not time out after the default time? could it be done with an if/then statement? The reason is that i am writing a script to automate some functions in a form, but some fields require searching a database to find the data to input and the waitfor command timesout and continues before i am finished searching. Is there a way to keep it from timing out and have it wait for any text and a ^M?