If Program

 

This command is similar to the If Window command. It checks if the specified program is on top (has focus) or if the program is running.

 

 

Script Editor > Expand Logic Category > If Program

 

 

Option

Select the option from the drop down list.

 

If Program On Top

Select this option to test if the selected program has focus.

 

If Program Running

Select this option to test if the selected program window is currently running. It does not have to be the program that is on top. The application may be running in the background.

 

 

Program Filename 

Insert the name of the program and path to the executable in this field or click on the Browse button to navigate to the file.