Page 1 of 1

How to use the sub-file count in actions?

PostPosted: Wed Mar 13, 2024 1:38 pm
by martinewski
Hello there.

As far as I researched, there is no native way of getting the sub-file count of a folder being analyzed by Hazel to use it in actions like Rename or Add Comment.

Can anyone help me sorting this? Shell script would be easy, but as per Hazel's documentation it can't return any value to be used. Maybe AppleScript? Unfortunately I'm illiterate on it.

Any help is appreciated.

Re: How to use the sub-file count in actions?

PostPosted: Thu Mar 14, 2024 8:57 am
by Mr_Noodle
Is there a reason why "Sub file/folder count" is not sufficient? Can you elaborate on what is not working?