You are here

AppleScript to Copy Aperture Version Name to Title Field

Joseph @PhotoApps.Expert's picture
August 1, 2014 - 12:00pm

This a simple but very useful tip, especially if you're sharing images on Squarespace. As you may recall from Scott Davenport's great article “Set Titles and Captions in Aperture 3 Before Sharing Photos Online”, different social media sites expose different metadata fields. In the case of Squarespace, the Title field is exposed — but I don't typically use that.

I was looking for a way to copy my Version Name into the Title field, and found a great AppleScript to do it. It turns out the Title is actually the IPTC field ObjectName, so that's what the script calls for.

Here's all it takes to set up.

  1. Head over to the page “Copy the Aperture Version Name to the IPTC ObjectName (Title field in Aperture)” on github and copy the script to your clipboard.
  2. Launch AppleScript Editor and create a new script (File > New).
  3. Paste your clipboard contents into the new window, and click the Compile button to ensure it's all good. If not, just make sure you've copy and pasted all the content from the github page.
  4. Save the AppleScript to the folder ~/Library/Scripts/Applications/Aperture (if any of those folders don't already exist, just create them). Name it something clever like “Copy Version Name to Title field”.
  5. Open the AppleScript Editor preferences and ensure that “Show Script menu in menu bar” is enabled. Without that, you won't be able to access the script from within Aperture.

Once that's in place, all that's left is to select the photo or photos that you want to alter, and select the script! And remember, you can select multiple photos to run this on as well.

As a bonus, you can set up a Metadata view that shows just the fields that will show up in Squarespace (or of course whatever social site you're using).

Here’s the photo’s metadata before applying the script
The script will show up in the main AppleScript menu as long as you put it in the “Applications > Aperture” Scripts folder
Once the script is run, the Version and Title will match
AppleScript Metadata
Apple Aperture
Joseph @PhotoApps.Expert

This is very clever - would it be possible to edit to copy a comment field from the Apple iCloud photo stream to the version name for use in an apple book? Thx

If there's an applescript field for it, then yes. But since it's not a standard IPTC field, there's no guarantee that there is one.  You'd have to dig through the Applescript library to see. If you're not familiar with scripting, perhaps someone else here can. (I'm not any good at it… which is why I have others write them!!)

-Joseph @PhotoApps.Expert
— Have you signed up for the mailing list?

You may login with either your assigned username or your e-mail address.
Passwords are case-sensitive - Forgot your password?

Or log in with...

© 2016 PhotoApps.Expert All rights reserved.