Skip to Content

Mac Automation: holiday photos

Now that you have downed the Egg Nog and feasted on the holiday food, it's time for the worst part of Christmas ... importing and organizing all those photos. Thanks to Automator and iPhoto, this task can be extremely easy. In this how-to, I will show you how to import your photos, carefully tuck them away in a new photo album, and e-mail them to friends and family. This tutorial assumes that you are using Mac OS X Leopard, and iPhoto 08; however it may work with Tiger and iPhoto 06.

Importing Photos

First launch Automator, then find the following actions and place them in the same order:
  • Download Pictures
  • Import Files into iPhoto

Now, let's tweak some of the action's settings. In both of the actions, select the "options" button at the bottom, and select the check box "show this action when the work flow runs." This will allow you to use a different setting each time you use this work flow.

Now you have a basic photo importer that will quickly import files into iPhoto. Just connect your camera, and click Automator's "Run" button, and the photos are merrily imported.


Importing & E-mailing Photos
E-mailing a large group of photos can sometimes be a pain; but not with Automator. Let's take the above work flow a bit further and create an e-mail from the photos that you have on your camera.

For this work flow, you'll need the following actions (in the same order):
  • Download Pictures
  • Import Files into iPhoto
  • Review Photos
  • New Mail Message



Now to tweak some of the settings. For all the actions, select their "option" tab, then select, "show this action when the work flow runs." In the "Review Photos" action, select the "Approved images" check box, as this will allow you to e-mail only those images you approve. Fill out as much, or as little of the information in the "New Mail Message" action as you would like; when the action runs, you will be asked to supply the people that you want to e-mail.

Here's the walk-through of this work flow:
  1. Connect your camera to your Mac and click "Run" in Automator.
  2. A dialog will appear asking you to download the images from your camera. Click continue. (You can also check the box if you would like iPhoto to delete your images after you're done).
  3. Automator will then ask you if you would like your images to be placed in a new or existing album. Once you have selected an album (or typed in a new one), click continue.
  4. iPhoto will launch, import your photos, and add them the album you supplied in the last step.
  5. A Image Review dialog box will then appear allowing you to reject or approve images. You can use the flip image button to correct your images. When you see a photo that you want to e-mail, click "Approve." For the ones you don't want to e-mail, select "Reject."
  6. Once you have completed reviewing your photos, a new mail message will be generated. This message will include all of your approved photos in the body.
I hope this tutorial will alleviate some of the headaches we all get when dealing with digital photos.

Happy Holidays, everyone!

Categories

Features How-tos

Now that you have downed the Egg Nog and feasted on the holiday food, it's time for the worst part of Christmas ... importing and...
 

Add a Comment

*0 / 3000 Character Maximum

19 Comments

Filter by:
TS

Okay, try this one.... I want to use Automator to email a few people in my address book. I want to email them on certain holidays w/ a picture. Is dat possible?

January 03 2008 at 7:03 PM Report abuse rate up rate down Reply
Rich

Thanks for these tutorials! As a new Mac user, I find them very interesting.

December 27 2007 at 1:28 PM Report abuse rate up rate down Reply
williamlane

"It is serious limitation to iphoto that this can't be done without individually renaming each file."


Photos menus - Batch Change. Done.


Like many others I just don't 'get' the usefulness of automating what iPhoto already does. BEFORE I want to go emailing photos I want to check them over, RENAME them, and then send them.

My frustration with and misunderstanding(?) of Automator continues.

December 26 2007 at 11:24 AM Report abuse rate up rate down Reply
1 reply to williamlane's comment
Rich

I stand corrected although I prefer the date format used in Automator. Many thanks for the tip!

December 26 2007 at 3:31 PM Report abuse rate up rate down Reply
Ashley Grayson

I think the initial commenters missed the educational approach of Cory's essay. Like "Hello World", the point of a tutorial example is not to be directly useful, but to illustrate a process by building it from familiar elements. However, Cory could have selected a task to automate, that is not already easily handled. He could have also eliminated the bewilderment by prefacing the essay with: "iPhoto already does this, but here's how it could be done with Automator." Keep in mind, this blog is about learning Automator, not optimizing iPhoto.
Here's a suggestion for a future column: a task that is potentially useful, not already possible and non-trivial. I've been around Macs for years and have no clue how to do this with Folder Actions or Automator.

Let's automate a folder, call it SendThis to have the following behavior: when a PDF file is placed in the folder, the automation script attaches that file to an email sent to a fixed list of recipients defined when the automation is set up. The Automation will only email the new entry, not any files already in the folder. Each incoming file name will be unique and not known to the Automation. Alternate method: It is acceptable to allow the automation to automatically copy the file to a folder called SendThisArchive as part of the automation so that the SendThis folder does not retain files.

December 26 2007 at 10:46 AM Report abuse rate up rate down Reply
Rich

Teach a man to fish...I "wrote" an automator app that dies what I wanted with the exception of the actual import into itunes. For some reason I get an error when I try and automate this even though I can do it in iphoto by just selecting import photos and pointing to the folder where the new files are located. Anyway, works well enough for a first attempt and I don't actually use iphoto all that much to organize pictures. Thanks for the inspiration.

December 26 2007 at 10:30 AM Report abuse rate up rate down Reply
koreyel

Is this possible?

Use Automator to make an iSight camera function as a security webcam. When is senses motion it snaps and saves to a folder, and emails out the pic.

Or....

Use Automater to a make an iSight camera function as a simple webcam. Taking 1 picture every five minutes. Then pipe the pictures to iMovie to make a movie out of all the snaps.

December 26 2007 at 9:53 AM Report abuse rate up rate down Reply
Rich

What would be useful is an automator program that will override the settings of iphoto and automatically change the file name of the photos to include the date they were taken and a sequential number. It is serious limitation to iphoto that this can't be done without individually renaming each file.

December 26 2007 at 2:00 AM Report abuse rate up rate down Reply
jethro

I got a digital picture frame, and I have all my photos from the last 3 years on my external hard drive. I would like to shrink them down in size (and resolution) so that I can fit more on a 2 gb SD card so that I can have all my pictures on the card.

December 26 2007 at 12:24 AM Report abuse rate up rate down Reply
1 reply to jethro's comment
David Fischer

iPhoto will do that for you, no Automator required. Select the photos of interest. Then use the resize command; it will export to a folder of your choice

December 26 2007 at 9:05 AM Report abuse rate up rate down Reply
Aaron

my question is how to get automator scripts working with aperture in leopard. I know other people have had problems with this but I have yet to find a solution. Whenever I add an aperture action I get the following error:

*** -[NSNull length]: unrecognized selector sent to instance 0xa03c0020

December 25 2007 at 3:09 PM Report abuse rate up rate down Reply
Steve

I don't see the sense in setting up an automator thing to do this stuff, when a properly setup iphoto will do all of this virtually automatically by itself. For instance, to do this. all I would do is hook up my digital camera, turn it on, which makes iphoto start up the automatic downloading, so all I have to do is decide whether to import all or some, and then whether to delete the imports from the camera. Once they're imported, they're automatically in a new event, which is easy enough to name, which is virtually the same thing as an album, but easier. Then it's just a matter of selecting which photos to email, and clicking through a few options in the share menu, then in he email program adding the addresses you want. The overall thing takes fewer mouse clicks to do than if you set up an automator action to do it.

December 25 2007 at 1:45 PM Report abuse rate up rate down Reply
4 replies to Steve's comment
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.