macaroni

if

Description:
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:

# 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