Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Folder created or removed trigger
#1
I am in need of a folder created or removed trigger. This function works ony if a folder is created.

Function FolderCreated
Trigger $f 0xC03 "$favorites$"     Help - how to add the trigger to the macro
Code:
Copy      Help
function event $name [$newname]
;event: 1 added, 2 removed, 4 renamed, 8 modified

Dir d
if(!d.dir(name 1)) ret ;; obviously, it works only when a file is created

out name

Could you please advise in the case of folder deletion.

Thanks.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)