Help files

Conditionals

Conditionals are very important concept in WinAutomation, since they allow you to execute specific actions or blocks of actions only if a certain condition is met. If the condition is not met, the action(s) that the conditional structure contains will be skipped.

Usage Examples

There are tons of examples about where you might want to use a conditional: if you want to delete only files that have not been modified during the last week, if you want to know whether a specific process is running before launching an application, if you want to verify that a file does not exist before creating it and so on. Practically, conditionals are the first thing that you will have to use in order to automate tasks through WinAutomation, since they give you the ability to choose whether some part of your Process will be executed or not.

Note: WinAutomation will automatically indent the block of actions that is contained in a conditional structure.