If Not Program
This command is similar to the If Not Window command. It checks if the specified program is not on top (does not have focus) or if the program is not running.
Script Editor > Expand Logic Category > If Not Program
Option
Select the option from the drop down list.
If the Program Is Not Focused
Select this option to test if the selected program window does not have focus.
If the Program Is Not Running
Select this option to test if the selected program is currently not running.
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.