Rule to a .txt not working

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

Moderator: Mr_Noodle

Rule to a .txt not working Thu May 15, 2014 2:19 am • by Allsop
I have set up a rule to add the current date to the name of anything that lands on my desktop which works very well except for Apple Text documents, these have the extension .txt. Initially I have even added to the rule the specific criteria to date anything with the extension txt and it still does not work. Any ideas where I am going wrong? Thanks.
Andrew
Allsop
 
Posts: 67
Joined: Thu May 01, 2014 1:43 am

Re: Rule to a .txt not working Fri May 16, 2014 12:07 pm • by Mr_Noodle
I suggest going through the troubleshooting guide stickied near the top of this forum. If you can't figure it out, report back with the diagnostics from there.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Rule to a .txt not working Sat May 17, 2014 1:31 am • by Allsop
Thanks for your reply, I should have checked before posting! With regard to the points in the sticky:
“Remember that rules are processed in order.
Remember that Hazel only applies the first rule that matches (this is different than how rules work in Mail).“

I have 2 rules in this order:
1) Date a document with the criteria
If all of the following conditions are met,
Kind, is not, Folder
Kind, is not, Alias
Kind, is not, Disk image

Do the following…:
Rename with pattern: date created; name; extension

2) Move old stuff with the criteria
If all of the following conditions are met,
Date added, is not, Today
Kind, is not, Folder
Kind, is not, Alias

Do the following…:
Move, to folder, Stuff to sort

Now according to the sticky my second rule will not work because “Hazel only applies the first rule that “matches”

How, then, can I combine the rules so that I can get the result I require in the second rule?

Many thanks for any help.
Allsop
 
Posts: 67
Joined: Thu May 01, 2014 1:43 am

Re: Rule to a .txt not working Mon May 19, 2014 2:53 pm • by Mr_Noodle
You can do something like set a color in the first rule and then look for that color in the second. Or combine the rules though you'll have to have separate rules for the different possible combinations.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Rule to a .txt not working Tue May 20, 2014 12:42 am • by Allsop
“Set a colour”—Clever! :)

Thanks.
Allsop
 
Posts: 67
Joined: Thu May 01, 2014 1:43 am


Return to Support