Hello,
Firstly, sorry if my english can be strange or difficult to understand, since i am french, thanks for your understanding.
So, i am using Hazel in an automated workflow, in which my macbook is receiving pictures wirelessly from multiple cameras and smartphones for automated watermarked and reframed printing.
In this setup i use hazel for lauching the automator workflows that launches the photoshop dropplets.
Since i had multiple photoshop dropplets to run alternatively, i needed each photoshop dropplet to be run at once, because if not, it might eventually "miss" some pictures.
I have successfully created a sort of hierarchy in hazel, with multiple folders running rules based on applescripts that delays each launching of automator action until none is running, i have managed to do that for 5 folders/sources.
I don't know if i did it the best way, maybe not, but for the conditions i required it works fine and also does a kind of a loop between all folders. However it won't work for more than 5 folders, maybe in the future i will try to improve it, so if by the way you have any idea for this, let me know.
So for now, what i really need to do is to limit the total amount of prints.
Until now, i was running only one printer and limiting by the size of the paper roll, but for speed issues, i am now running it on a pool of 2 printers, and maybe i will add one more.
So i can't continue to rely on paper roll size for limiting the amount of prints, it is too much.
What i have tried, is to do a monitoring of the file count in the folder where all printed files are gathered, and tell hazel to stop (same as done manually i the hazel menu) when the indicated amount is reached , this would be perfect way as it would not only stops all folders watchers and launchers, but also the automator action that is already running, and then it would make a perfect count.
For now i have tried to simply run an automator action that stays up until user action, it should do the same trick except it would let the automator action continue and maybe allow for several more prints (each launcher runs 5 files per loop).
I say "it would" because i could'nt get even the file count working right in hazel, maybe it's a bug ?
If anyone can help me get a way to stop all hazel when file count is reached in selected folder that would be great.
Thanks in advance.