ifDescription:
The if executor is used to execute one of two lists of executors, depending if condition is true or false.
Parent: execute, then, else
Values:
if: sequence of (condition), required, specifying a set of conditionsthen: sequence of (executor), required, specifying a set of executors to be run, one by one, if condition is trueelse: sequence of (executor), required, specifying a set of executors to be run, one by one, if condition is false# key/value form
- if: (sequence of condition, required)
then: (sequence of executor, required)
else: (sequence of executor, required)
# key/value example
- if:
- app: notepad.exe
- input: true
selection: true
then:
- sendKeys: {ctrl-c}
else:
- clipboard: `Nothing on was selected in notepad, or app wasn't notepad`
Status: ✅ IMPLEMENTED