If Time Elapsed...

This will check to see if the time elapsed since the current script began is greater than or less than a number of seconds. The script commands that you place between this statement, and a ...End If statement are only executed if the test returns true.

 

Example: Wait For Window: *Notepad

If Time Elapsed Greater Than: 60 seconds

  Start Program: c:\windows\notepad.exe

  ...End If

  Send Keys: Notepad was not active![Enter]