Triggers a macro when a file in the specified folder is created, changed, or deleted.
Folder to monitor
Specifies the folder to be monitored
Specifies a filter for file searching. Multiple names should be separated by the semi-colon, and the wildcards are supported, for example: *.jpg;*.bmp;*.doc;
Specifies whether to monitor all sub-folders in the selected folder.
Specifies which files should be ignored in the progress of searching. Multiple names should be separated by the semi-colon, and the wildcards are supported, for example: abc.jpg;*.bmp;*.doc;
Launch macro when a file
Specifies file actions to be monitored. The available file actions are below:
- size changed
The file triggers will work on network drives and shares only if the machine is part of a domain and if the computer Macro Expert is running on has at least read access to the folder being monitored. The trigger will not work on mapped drives or network shares that belong to a Win9x workgroup.
Do not attempt to monitor the windows system directory with the Include mask "*.*" (all files in system direcotry), it will slow down your system.
When a file event occurs, the watcher will pass the matched file name and action type to Macro Player, you could use the global variable file_watcher_file to fetch the file name, and file_watcher_action to determine what event (action) is happened. The value of the global variable file_watcher_action can be one value of the following:
- 1 -- File or folder is created
- 2 -- File or folder is deleted
- 3 -- File or folder attribute is changed
- 5 -- File or folder name is changed