AppIsRunning is a built-in scripting function that verifies another application window is open and running.
Function | Group | Execution | Windows | Embedded | Thin Client |
---|---|---|---|---|---|
AppIsRunning | Module Activity | Synchronous | Supported | Supported | Supported |
This is an optional parameter. If no value is specified, then the default timeout is five seconds (or 5000 milliseconds).
Value | Description |
---|---|
0 | ERROR: The specified application window is not open or otherwise did not respond within the timeout period. |
1 | SUCCESS: The specified application window is open and running. |
AppIsRunning is similar to the function IsWindow in the Microsoft Windows API. For more information, please refer to the Windows API documentation.
AppIsRunning( "test.doc — Microsoft Word" )