ActivateApp Function
- Last UpdatedMar 03, 2023
- 1 minute read
Activates an already running Windows application.
Syntax
ActivateApp apptitle;
Parameters
apptitle
The application title or Windows task list name of the running application you want to activate.
Example(s)
This script checks if a command prompt window is already open, and if so, activates it. Otherwise it starts the command prompt window.
IF InfoAppActive( InfoAppTitle("cmd")) == 1 THEN
ActivateApp InfoAppTitle("cmd");
ELSE
StartApp "cmd";
ENDIF;