Pauses script execution until a given process exists.
ProcessWait ( "process" [, timeout] )
Parameters
| process | The name of the process to check. |
| timeout | [optional] Specifies how long to wait (in seconds). Default is to wait indefinitely. |
Return Value
| Success: | Returns 1. |
| Failure: | Returns 0 if the wait timed out. |
Remarks
Process names are executables without the full path, e.g., "notepad.exe" or "winword.exe"
Related
ProcessClose, ProcessExists, ProcessWaitClose, RunWait, WinWait, WinWaitActive
Example
ProcessWait("notepad.exe")