when triggerDescription:
The when trigger is used to specify a set of conditions that when true, triggers a command.
Parent: triggers
Value:
truetrue# sequence form
when:
- (condition1, required)
- (condition2, optional)
- ...
# sequence example
when:
- app: notepad.exe
title: favorites.txt
running: true