Changed
Trigger for when a File/Folder Watcher is Changed
Preview
Parameters
Watcher
Select
Select a watcher from the Settings -> File/Folder Watcher tab.
- Select
Any
to trigger on any watcher
You can quickly register a new watcher by clicking the
Create File Watcher
button!Details
Using a file
: this triggers when the content of a selected file changes.Using a folder
: this triggers when a file from the selected folder changes.
Variables
The following variables will be populated when this trigger executes:
Description | ||
---|---|---|
changeType | string | The change type Example: Changed |
empty | boolean | Is the file empty? Example: true |
fileName | string | The full file name including the file extension Example: Example.txt |
fileSize | number | The file size in bytes Example: 1 MB > 1000000 bytes |
fullPath | string | The full path of the file Example: C:\Desktop\Example-Folder\Example.txt |
line# | string | Each line of the file Example: Hello World! |
lineCount | number | The total number of lines Example: 1 |
lineEscaped# | string | Each line of the file escaped for URL's Example: Hello%20World%21 |
watcherFilter | string | The filter of this watcher Example: *.* |
watcherFolder | string | The folder you're watching for changes Example: C:\Desktop\Example-Folder |