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

While [ Application ]

While statement for processes. You can use this command to define a process loop. This command can contain other commands that will be executed until the specified condition will be 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.
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.