Page 1 of 1

About the "Date Last Modified did not change" condition

PostPosted: Mon Jun 06, 2022 4:22 pm
by repoles
Hi there.

I'm trying to understand how Hazel evaluates the condition "Date Last Modified did not change" condition.

I have a file that was not modified after the creation date. The info panel of macOS says Created: Tuesday, 31 May 2022 09:51 and Modified: Tuesday, 31 May 2022 09:51. The dates are the same. When Hazel check the above condition (Date Last Modified did not change), it evaluates true, which seems to be correct.

But I have another file that was modified after the creation date. The info panel of macOS says Created: Tuesday, 31 May 2022 09:50 and Modified: Monday, 6 June 2022 16:42. The dates are different. But when Hazel check the same condition (Date Last Modified did not change), it also evaluates true, which seems to be incorrect.

I didn't find nothing about this condition in the manual, that's why I came to ask here.

Thanks!

Re: About the "Date Last Modified did not change" condition

PostPosted: Tue Jun 07, 2022 9:59 am
by Mr_Noodle
"did not change" is relative to the last time Hazel evaluated that file. So, first time it encounters the file, it may evaluate to false then next time and for then onwards, will evaluate to false as long as the date hasn't changed since.

Re: About the "Date Last Modified did not change" condition

PostPosted: Tue Jun 07, 2022 11:54 am
by repoles
Thank you, Mr Noodle!