Run script on file upon adding to new folder?

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

edit: figured it out

question: i have hazel to run a script on new files only added to a folder...

however if i add a rule to delete the file after running the script it wont finish converting as it attempts to delete it...

how would i make a rule to dlete the file POST conversion?
silentsim
 
Posts: 1
Joined: Sat Dec 18, 2010 8:57 pm

You figure it out but I thought I'd reply anyways in case someone else runs into this. In this case, I'm guessing you want to put the delete action in the same rule as the one that runs the script. Hazel runs actions within a rule sequentially, waiting for the previous one to finish. There are some exceptions (like opening a file) where Hazel has no way of telling when it's done but in general, that's the way things work.

If you have a different solution (or I misread the problem), post back here as I'm curious as to what happened.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Open Discussion