Page 1 of 1
Clearing comments

Posted:
Mon Sep 18, 2017 2:42 pm
by Dave61
I know that I can replace or append a comment, but how can I clear it?
Re: Clearing comments

Posted:
Tue Sep 19, 2017 10:17 am
by Mr_Noodle
Not supported right now since leaving the field empty isn't allowed. Will look into adding it in a future release. You can, though, replace the comment with a single space character.
Re: Clearing comments

Posted:
Tue Sep 19, 2017 3:48 pm
by Dave61
Thanks for answering.
A blank would fit into the workflow better than a space as some files come into it that way.
Hope it makes it into a future release.
Re: Clearing comments

Posted:
Mon Sep 25, 2017 9:40 am
by Dave61
Have now run into a problem where a file with a previous comment, if cleared by Automator, appears to be blank but is not recognised as such by Hazel. The everything token works so guessing there must be a non-visible character somewhere. If I subsequently add a comment by other means, including Hazel, the mysterious character is still there, screwing up matches.
Any suggestions on how to deal with this.
Re: Clearing comments

Posted:
Mon Sep 25, 2017 11:17 am
by Mr_Noodle
The everything token matches everything including nothing. Does "is blank/is not blank" not work properly?
Re: Clearing comments

Posted:
Tue Sep 26, 2017 3:47 am
by Dave61
Just tried to set up a simple example and it worked correctly. Will have another look at the rule giving me trouble.