File Monitor and Variable
Posted: Fri Dec 10, 2010 12:17 pm
Hi,
I have a task that starts a program when a change is
detected in a directory, using File Monitor. It works
great, however, I would like to set a user variable
containing the files that triggered the change. Then, I
could use this variable to start my program with the
corresponding command line : for example Notepad.exe -
C:\file1.txt,C:\file2.txt.
I know I can log the triggering files using the "Save
Changes" tab in File Monitor, but using a variable would
be a more brilliant way to do it.
Thanks,
Maxime Lagacé
I have a task that starts a program when a change is
detected in a directory, using File Monitor. It works
great, however, I would like to set a user variable
containing the files that triggered the change. Then, I
could use this variable to start my program with the
corresponding command line : for example Notepad.exe -
C:\file1.txt,C:\file2.txt.
I know I can log the triggering files using the "Save
Changes" tab in File Monitor, but using a variable would
be a more brilliant way to do it.
Thanks,
Maxime Lagacé