A while ago I had to help the TV Squad crew cover an award ceremony by a ing scree hots with my Eye TV. I needed a way to fire these shots off to members of the team with the least amount of effort, so I put together a few Automator droplets that could take whatever files I drop on them, attach them to a Mail.a me age and automatically send them to pre-determined recipients with no questio asked. At the time I didn't think too much of the actio , so they got busy with collecting dust on my backup hard drive, waiting for a time when they might be called back into action. Well, this similar hint at macosxhints.com was just that time, as it i ired me to bring these actio out of mothballs. That hint seems a little overly complex to me, what with the scripts and the editing and creating folders and attaching - oh my! I figured this Automator action might be a little easier to deal with, so here you go. I call it Mail Man, and we're hosting it on TUAW. Here's how it works.First, in the zip file we're providing, there are two files: one is a .workflow file which is ripe for opening and editing in Automator, and the other is a .a saved from the workflow, which you can simply drag and drop onto Automator in the dock to open and edit as well (I just wanted to cover all the bases). No matter which file you open for editing, you'll see there are three actio that make Mail Man tick. The only one you need to really care about is the second action, 'New Mail Me age,' and there are a couple of ways you can make it work, depending on how you roll.
First, if you twirl down the Optio arrow, you'll see that 'Show Action When Run' is not checked; this mea that if you fill in at least one recipient (as I have for demo tration purposes), Mail Man will simply open a new me age, attach the files and send the me age, with no further effort on your part. However, if you would like some on-the-fly control over who this me age gets addre ed to, or perha you would like to add a subject on a per-me age basis, your second option here is to check that box. This will give you a dialog each time you run the action that looks remarkably similar to this:

This will let you make any changes to the me age before the action completes its task. Once you click Continue, Mail Man will finish creating the Mail.a me age, attach your files and send them into the wild binary yonder.
Now I typically use this action as a droplet on my desktop (or from the Dock), created by choosing File > Save As... in Automator, but it works just fine as a plug-in for the Finder and Folder Actio as well. Using it this way, you could right-click files and folders in the Finder and chose Automator > Mail Man (or whatever you chose to call it), or simply attach it as a Folder Action so you can automatically email anything you drag and drop onto a ecific folder.
Either way, I hope you find Mail Man useful, as it's good for all sorts of handy email work like archiving stuff in Gmail and shooting files to coworkers. Feel free to ask question in the comments, and I'll try to help.
No comments:
Post a Comment