Page 1 of 1

Two rules after each other not working

PostPosted: Fri Oct 14, 2016 11:46 am
by Dennytwist
I've done two rules

RULES IN A CERTAIN FOLDER
1. When creating a folder it is copied also to another directory
Image
2. Then Populate the original folder with a couple of folders and so on.
Image

PROBLEM
Rule number 1 stops rule nr 2 from setting off

Re: Two rules after each other not working

PostPosted: Fri Oct 14, 2016 1:27 pm
by Mr_Noodle
The images aren't coming through but keep in mind that a file/folder can only match one rule. If you expect it to match both rules, you need to either combine the rules into one or use the "Continue" action.

Re: Two rules after each other not working

PostPosted: Sat Oct 15, 2016 6:18 am
by Dennytwist
Mr_Noodle wrote:The images aren't coming through but keep in mind that a file/folder can only match one rule. If you expect it to match both rules, you need to either combine the rules into one or use the "Continue" action.


Thank you for the reply!
Oh okay. The problem I had is still that even if I put them in the same rule they won't execute well. I want the created folder to copy itself to a directory before its being populated. Instead it populate the folder before its copied and leaves the folder that I wanted populated untouched :/ I'll post a picture once I've redone and combined the two rules again.

Re: Two rules after each other not working

PostPosted: Mon Oct 17, 2016 5:45 am
by Dennytwist
Heres a picture of the code. The Action down at the bottom is the Automationscript that populate the folder.

https://www.dropbox.com/s/gfec53yg57oqx1a/Screen%20Shot%202016-10-17%20at%2011.42.56.png?dl=0

But I Kind of see a problem here... I Create a folder. copy it to another and then populate that folder. But I want to populate the original folder ond not the copy... Is there ways to go around this?

Re: Two rules after each other not working

PostPosted: Mon Oct 17, 2016 11:02 am
by Mr_Noodle
I'm not clear exactly on what's going on here. Why create an empty folder then copy it and not populate it? Can't you just create the empty folder at the destination instead?

Re: Two rules after each other not working

PostPosted: Wed Oct 19, 2016 8:50 am
by Dennytwist
No sorry, I think I'm lazy in my explaination.
I have a folder where people can populate different project folders. When someone wants to create a project folder I want Hazel to populate it with a structure so that every project follows a similar structure.
When someone creates a Project I want a folder created somewhere with the same name but without all the auto populated content.

Re: Two rules after each other not working

PostPosted: Wed Oct 19, 2016 11:14 am
by Mr_Noodle
So what is in the that folder if it doesn't have the populated content?

Re: Two rules after each other not working

PostPosted: Thu Oct 20, 2016 5:52 am
by Dennytwist
Its a folder that receipts and will be synct to from another folder that is within the populated folder haha. But I think I found a Solution. I have to add rules like once I copied it to a certain folder I have to copy that one back to the monitored folder and then apply the populate rule