Re: Problem getting workflow to behave correctly
Re: Problem getting workflow to behave correctly
- Subject: Re: Problem getting workflow to behave correctly
- From: Ben Waldie <email@hidden>
- Date: Sat, 29 Aug 2009 13:09:31 -0400
Aj,
On Aug 29, 2009, at 2:51 AM, Aj Davis wrote:
I know I'm missing something and I'm still rather new to Automator.
The order I'd like to have things happen is:
1. Select file(s)
2. Label the item as an attachment
3. Rename the file appending the current date
4. Create a new mail message
5. Attach the file
6. Move the file to another directory.
First, if you're saving a Folder Action workflow, you don't need an
action at the beginning to get the files. Files are automatically
passed to a Folder Action workflow when they're added to the folder.
To test the workflow within Automator, however, then you will need an
action to get the files.
Second, the New Mail Message action will automatically attach files
passed to it as input. So, you can do the attachment part of the
workflow in one step.
Your workflow should look like this:
* Ask for Finder Items - Use this action only for testing within
Automator. Then, disable or remove it when you save the workflow as a
Folder Action. Set it to ask you for a file, not a folder.
* Label Finder Items - Receives the files passed as input, and assigns
a label to them. Passes the labeled files as output to the next action.
* Rename Finder Items - Renames the labeled files from the previous
action, and passes the renamed files as output to the next action.
* Move Finder Items - Moves the renamed files to another folder, and
passes the moved files to the next action.
* New Mail Message - Creates a new Mail message, and attaches the
files received as input.
I think that should do it. Hope this helps.
Regards,
-Ben
P.S. If you're new to Automator, and you have not done so already, you
may want to check out my book... "Automator for Mac OS X 10.5 Leopard:
Visual QuickStart Guide" (Peachpit Press) <http://www.automatedworkflows.com/books/automator_vqs.html
>, as well as my video podcast series "Mac Automation Made Simple" <http://www.automatedworkflows.com/tips/podcast.html
> (and available in iTunes).
Ben Waldie
President
Automated Workflows, LLC
484.744.1831
=============================================
AppleScript * Automator * Workflow Automation
Products, Training, Custom Development Services
<http://www.automatedworkflows.com>
<http://twitter.com/applescriptguru>
=============================================
_______________________________________________
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