"Add comment" action not working. What am I missing?

Posted:
Fri May 19, 2023 2:54 am
by otrecar
Hello, everybody.
I'm really new to Hazel and the first thing I wanted to do was trying to use it to add a comment to the firmware ipsw files I use with Apple Configurator 2. But it seems I'm doing something wrong, because most times it doesn't work.


And you can see here it isn't working. The comments that do exist were written by me before buying Hazel


I'm sure it must be some dumb mistake on my part, but I can't figure it out.
Thanks in advance.
Re: "Add comment" action not working. What am I missing?

Posted:
Mon May 22, 2023 9:24 am
by Mr_Noodle
Re: "Add comment" action not working. What am I missing?

Posted:
Mon May 22, 2023 3:45 pm
by otrecar
I figured out what it was. I was working on an external drive and it was formated in exFat, not APFS. macOS didn't know what to do with that. Some files were showing the comments, some weren't... But after a reboot, all the comments were lost.
I reformated the drive and it's mostly working (one of the rules isn't applying the comment, I'll have to see why).
Thanks for trying to help.
Re: "Add comment" action not working. What am I missing?

Posted:
Sun Jan 05, 2025 11:24 am
by mclearr
Hi,
I'm also having issues with the Add Comment feature. I have a rule which is correctly matching content of a file, at which point it should tag the file, add a finder comment, and move it to a new location. The rule is running and the tags are applied, but no comment is added to the file. I've run debug mode and looked for any errors in the processing, but I don't see any:
New Signature:{textContent containsPattern: (3359434549),{
} AND textContent containsPattern: ({hazelcustomtoken:Statement Date:({month}: :{dayOfMonth}:, :{year}):cap}),{
matchOccurrenceOption = 1;
}}:{(comment:(
"{finderComment}",
" ",
"{hazelcustomtoken:Statement Date}",
" Wells Fargo Savigs Account Statement"
),{
})(addtag:(
finances,
statement
),{
})(rename:(
"{hazelcustomtoken:Statement Date}",
" Wells Fargo Savings",
"{extension:sc0}"
),{
})(move:
Any advice is appreciated.
Re: "Add comment" action not working. What am I missing?

Posted:
Mon Jan 06, 2025 10:42 am
by Mr_Noodle
What happens if you do it manually in Finder?