Re: How to set up a hot folder to use with automator
Re: How to set up a hot folder to use with automator
- Subject: Re: How to set up a hot folder to use with automator
- From: Steve Hayman <email@hidden>
- Date: Wed, 31 Jan 2007 12:48:24 -0500
On 31-Jan-07, at 10:49 AM, Chris Davies wrote:
I have devised a workflow to batch process images -ie. crop, change
resolution, save as etc.
It would be really useful if I could set up automator to monitor an
assigned hot folder and then run my workflow as soon as a new file
is dropped into it.
It's very straightforward. Instead of saving as a normal workflow,
you can just do File > Save as Plug-in, and choose
Plug-in for: Folder Actions
Attached to folder: (your hot folder goes here.)
Now your workflow will run when anything is dropped into the folder.
(What is actually happening is that Automator is saving your workflow
in ~/Library/Workflows/Applications/Folder Actions, and also an
applescript in ~/Library/Scripts/Folder Actions. The script gets
attached to the folder, and the script runs the workflow.)
One caveat, though. Folder actions are triggered the moment
something arrives in a folder. If you are dropping a file from a
remote server that may take a while to copy into the folder, the
Automator workflow might kick off too early, before the file has
actually finished copying. This is easy to fix though - go and get
this action:
Wait for Files to Copy
http://automator.us/downloads.html#1030
and make that the first thing in your workflow.
Hope this helps,
Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden