Macro > Triggers >

www.MacroToolworks.com

File

 

This trigger type allows to start macro when a file is created, changed, deleted, etc.

 

File event

Created - file is created. The same effect has if an existing file is renamed.

Deleted - file is deleted.

Changed - file is changed (file attributes such as last modification time).

Bigger than - file becomes bigger than predefined size.

Smaller than - file becomes smaller than predefined size.

 

File - path to the file (such as: c:\folder\myFileTowatch.dat). If this is not full path (just myFileTowatch.dat) then path relative to the macro file location is considered. File path can contain Windows environment variables (for example:  %TEMP%\myFileTowatch.dat) or Macro Toolworks application global variables (just simple, no array) - for example: c:\folder\%ga_File%.