APP_ISRUNNING ReturnInt, AppFile
Sets ReturnInt to 1 if the application given by AppFile is currently running, 0 otherwise. The value for AppFile must be the full exe name, such as "outlook.exe".
Switches to the application given by AppFile if it is already running. The value for AppFile must be the full exe name, such as "outlook.exe".
APP_LAUNCH ReturnInt, AppFile [, CommandLine]
Launches the application defined by AppFile. Any command line parameters are specified by CommandLine. Sets ReturnInt to 1 if the application was launched.
Switches back to the last active application of when this script started.