Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Finding added files
#1
How do I get the filename & path when a file is added to folder X?
I understand that I can trigger a macro based on a filing being added, but now I want the name of that file.
Sounds like it should be easy, but I can't find the answer anywhere, I'm sure I'm overlooking something.
Thanks for any help.
#2
When you assign the trigger, QM asks you "Insert code to receive trigger information?". It inserts

Code:
Copy      Help
function event $name [$newname]
;event: 1 added, 2 removed, 4 renamed, 8 modified

name (it is a variable) contains full file path.
#3
Perfect!
Thanks


Forum Jump:


Users browsing this thread: 1 Guest(s)