The If Then Else action allows you to choose which of two sets of actions should execute. If certain conditions are met then execute one list of actions. If not, execute another. If there are no conditions set then no actions will execute.
Drag one or more actions into the No Action areas.
Select a way to meet the conditions:
Add a new condition by clicking the green + button beside New Condition to select from a list of available conditions.
Conditions are grouped by category. See the Conditions section for further details.
After selecting a condition category you can make further choices. For example, if you choose the Application Condition you can choose a specific application to be running, or at the front, and so on.
Add further conditions by clicking the green + button again.