With the File/Folder Watcher
feature you can specify an action to run whenever a file that matches the defined filter is modified
Folder watch actions that have been defined will show in this pane to indicate the Folder being watched
, The file filter
, is Enabled
state and the Action that will trigger when the conditions are met
Right-clicking inside the pane opens the context menu
Add |
Add a new folder watch definition | |
Edit |
Open the Edit File/Folder Watcher dialogue to modify the highlighted entry |
This is the same as Double-Clicking the entry |
Delete |
Delete the highlighted entry | |
Set Action |
Shortcut to the Select Action dialogue |
|
Enabled |
Shortcut to set the Active state of the Folder Watch entry |
Can only monitor specific files or Monitors entire folders and will trigger on every match defined in the filter
Filters can be a generic or specific as required and uses the
*
symbol as a wildcard.
eg.*.*
will match all files in a folder,*.txt
will match all text files,some*.txt
will match all text files that begin with the wordsome
and so on
The action list can be filtered using the control in the upper right to help find what you need easier.
To assign an action, select it form the list and press the Select
button
To unassign all action press the Clear
button
The action specified will get access to the following variables:
Name | Description | |
---|---|---|
%changeType% |
The type of change | Changed , Created , Deleted |
%fullPath% |
The full path to the file | |
%fileName% |
The file name with extension | |
%name% |
The file name without the extention | |
%empty% |
A boolean value indicating if the file is empty |
If you have As JSON
ticked, it will add all root elements as arguments.
If As JSON
is not ticked, it will add the following variables if the JSON cannot be parsed:
Name | Description |
---|---|
%lineCount% |
The number of lines in the file |
%line#% |
The line of the file, replace # with the line number you want |
%lineEscaped#% |
The line of the file URL encoded, replace # with the line number you want |