file conditionDescription:
The file condition checks for the existence of a file on disk, and optionally checks the contents of the file.
Parent: all, any, condition, conditions, none, not , wait
Value (simple form): string specifying file name (checks for existence, contents irrelevant)
Value (key/value form):
name: string, required, specifying file nameexists: boolean, optional, specifying if must exist (default: true)contains: string, optional, specifying text that must be contained in file (default: null)contents: string, optional, specifying text that must match entire file contents (default: null)# simple form
file: (string)
# simple example
file: '{folders.desktop}\favorites.txt'
# key/value form
file:
name: (string)
exists: (boolean, optional)
contains: (string, optional)
contents: (string, optional)
# key/value example
file:
name: '{folders.desktop}\favorites.txt'
contains: 'macaroni'