- Jun
- 762
- 16
For the first time, I tried to put FOLDERMONITOR to use and encountered a problem. Alas, FOLDERMONITOR is another TCC function or command that does not recognize directory aliases, as illustrated below.
Again, I had to fix this by using the @FULL function to resolve the directory alias.
I think that it is reasonable to expect that all TCC commands will recognize directory aliases for folders and file paths and hope that will be the case with version 34.
Also, would it be possible to add an option to edit a monitoring configuration? As things are now, one has to delete the monitor and then reenter it from scratch. Of course, I could write a script or alias to do this.
Code:
TCC33.00.20 C:\Users\Jay\Dropbox\scans>foldermonitor scans: created forever echo File created
TCC: (Sys) The filename, directory name, or volume label syntax is incorrect.
"scans:"
Again, I had to fix this by using the @FULL function to resolve the directory alias.
Code:
TCC33.00.20 C:\Users\Jay\Dropbox\scans>foldermonitor %@full[scans:] created forever echo File created
TCC33.00.20 C:\Users\Jay\Dropbox\scans>fm
C:\users\jay\dropbox\scans\ created (0/FOREVER) echo File created
I think that it is reasonable to expect that all TCC commands will recognize directory aliases for folders and file paths and hope that will be the case with version 34.
Also, would it be possible to add an option to edit a monitoring configuration? As things are now, one has to delete the monitor and then reenter it from scratch. Of course, I could write a script or alias to do this.