Changed

Trigger for when a File/Folder Watcher is Changed
Preview
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
changeTypestring

The change type

Example: Changed
emptyboolean

Is the file empty?

Example: true
fileNamestring

The full file name including the file extension

Example: Example.txt
fileSizenumber

The file size in bytes

Example: 1 MB > 1000000 bytes
fullPathstring

The full path of the file

Example: C:\Desktop\Example-Folder\Example.txt
line#string

Each line of the file

Example: Hello World!
lineCountnumber

The total number of lines

Example: 1
lineEscaped#string

Each line of the file escaped for URL's

Example: Hello%20World%21
watcherFilterstring

The filter of this watcher

Example: *.*
watcherFolderstring

The folder you're watching for changes

Example: C:\Desktop\Example-Folder