How to use the sub-file count in actions?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

How to use the sub-file count in actions? 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.
martinewski
 
Posts: 28
Joined: Sat Jun 29, 2013 6:41 pm

Is there a reason why "Sub file/folder count" is not sufficient? Can you elaborate on what is not working?
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support