03-15-2012, 09:43 AM
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 Help - how to add the trigger to the macro](images/qm/help.png)
Could you please advise in the case of folder deletion.
Thanks.
Function FolderCreated
Trigger $f 0xC03 "$favorites$"
![Help - how to add the trigger to the macro Help - how to add the trigger to the macro](images/qm/help.png)
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.