If [ Application ]
New in 2021!   Eonza automation software - free, open source cross-platform automation software for easy creation and management of scripts.

If [ Application ]

Conditional expression for processes. You can use this command to define application conditional operators. This command can contain other commands that will be executed only if the specified condition is true. If you use Service options then check on 'Run as administrator' checkbox in Task settings (see Script)).

Description
Optionally, you may add comments here describing the purpose of this element.
Executable filename or service name
The name of the executable file or service name.
myapp.exe 
Comparison Type
Specify the comparison operations you need.
Process - Return 1 if such process is running.
Service - Return 1 if such service exists.
Service Run - Return 1 if such service exists and runs.
Negation of conditional
Check this box on if you want to negate this condition.
Next Condition
You can specify a combination of two conditions.
AND - this and the next condition must be true.
OR - At least one of the two conditions must be true.