Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

automator e-mail notification

I've created a simple, two step workflow in Automator which is designed to send an e-mail notification when items have been placed in a folder. Step 1 used is the "new e-mail" action followed by Step 2 the "send e-mail" action. The problem we're having is that it 'attaches' all the items being placed into the folder--to the e-mail. We have not used an attach action and I don't see an option to attach or not attach items to the e-mail.

Any thoughts?

G5 desktops, Mac OS X (10.4.11), Automator 1.0.5

Posted on Mar 19, 2008 3:53 PM

Reply
6 replies

Mar 20, 2008 5:44 PM in response to Paul Uhl

Paul,

I have never used the "new email" action, but it may take any inputs from the previous action and use them as attachments.

Look in the upper right of the action for a disclosure triangle labeled "Files/Folders". If you change that to "Ignore results" you may get a new email message with no attachments.

nathan

Mar 21, 2008 8:22 AM in response to Paul Uhl

Nathan,

Thanks for the suggestion but as an FYI I tried that when we originally created the script and it still forwards the contents of the folder. Also, Apple didn't have an immediate answer for this and are looking into the problem. We also identified a bug in configuring folder actions in Automator in 10.4 and 10.5

Mar 21, 2008 4:28 PM in response to Paul Uhl

Paul,

There's another approach you might consider. Instead of saving the workflow as a plug-in, save it as an application. Name it "Folder Update," for example. Use the same two actions you've been using, New Mail Message and Send Outgoing Messages.

Attach a folder action to the desired folder using AppleScript. Copy the code below and paste it into your AppleScript Script Editor:

*on adding folder items to this_folder after receiving these_items*
*tell application "Folder Update" to launch*
*end adding folder items to*

Save the script as a script to your Home/Library/Scripts/Folder Action Scripts folder. Right-click or control-click on the desired folder, enable folder actions and then attach the newly saved script.

When an item is added to the folder the AppleScript will run, and your mail message will be sent, without regard to what has been added to the folder -- the script doesn't look at the contents of the folder other than to determine that something has been added. Good luck!

Andrew99

automator e-mail notification

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.