WaitFile()
Waits a specified number of seconds for a file to appear.
Syntax
WaitFile(<cFile>, [<nSeconds>]) --> lFound
Arguments
<cFile> --> The name of the file to wait for. This may include path information.
<nSeconds> --> The number of seconds to wait for the file to appear. If the number of seconds is not specified, the function waits for 10 seconds.
Returns
The function returns TRUE if the file is found, otherwise FALSE.
Description
This is a special purpose function that pauses the execution of a script for a specified number of seconds or until a file appears.
____________________________
Related Topics: