Page 1 of 1
Hazel not noticing when I delete files

Posted:
Thu Apr 28, 2011 11:44 am
by pcperini
I can't seem to figure it out:
I have a rule set up to run a script if theFile's name is blank or not.
This works great when dropping a file into the folder, but not so great when removing it. Any ideas? Thanks in advance.
Re: Hazel not noticing when I delete files

Posted:
Thu Apr 28, 2011 12:18 pm
by Mr_Noodle
Hazel doesn't operate on files when they are removed, only when they actually exist in the folder. What are you trying to do exactly?
Re: Hazel not noticing when I delete files

Posted:
Thu Apr 28, 2011 12:36 pm
by pcperini
have the folder's icon change if the folder is empty.
i've got an apple script that does it well, i just need some way to trigger it (ergo Hazel)
Re: Hazel not noticing when I delete files

Posted:
Thu Apr 28, 2011 2:11 pm
by Mr_Noodle
If you are monitoring the folder above that one, you can filter on "Number of items" and when it's zero, set it appropriately.
Re: Hazel not noticing when I delete files

Posted:
Thu Apr 28, 2011 7:21 pm
by pcperini
How exactly do you mean?
For reference, the folder is on the Desktop (along with several other folders)
Re: Hazel not noticing when I delete files

Posted:
Sat Apr 30, 2011 5:33 pm
by pcperini
Any change you could explain what you mean? I can't seem to conceptualize how monitoring the super folder would give me any more information about or control over the folder in question.
Re: Hazel not noticing when I delete files

Posted:
Sat Apr 30, 2011 7:37 pm
by sjk
I found this old topic about 'filter on "Number of items"', if that's what you mean:
Item count error