Workflows and AppleScripts

Share and discuss your workflows and scripts here.

Turning on the Script menu for easy access to AppleScripts

1. Use AppleScript Utility (in the same folder as Script Editor) to turn on the system-wide Script menu in the menu bar.
2. Go to ~/Library/Scripts and add an 'Aperture' folder if there ins't one already.
3. Save any Aperture-related script into here and it will turn up in the Script window in the Aperture sub-menu - selecting it from the menu will run the script.

Ian

P.S. This is just for AppleScripts, not a menu for Aperture Assistant...

AppleScript Resources

There are several sites on the net with information about AppleScript and Aperture.

First up is the newly-updated Apple mini-site, including the excellent Aperture-InDesign integration example.

John Larson's site with a good intro to scripting Aperture, and the different types of tasks.

AppleScript - make an Album from a list of Version Names in a Project

This is an updated version of an older script.

Like the older one, this takes a text file containing version names, one-per-line with no file extensions.

Unlike the older version, it will prompt you to choose which Project to look for the versions in. This helps reduce the problem where you have multiple images spread across your Library, all with the same name.

Ian

Workflow Compiler errors

Ian, Thank you for the response. I wanted to attach the WorkFlow file itself, but it looks like I can only send a jpg or text file. I have included a jpg of the workflow. -- Thanks Dick

Script not working following Aperture upgrade

I had a simple script working to export the latest version of each of my photos using the same folder structure I have for my projects and albums in Aperture.
However, I get a warning that Assistant is not tested on this version of Aperture (2.1.4) - I choose continue, then I get an error report after a 100 failed image exports. The error is "ACTION NODE 2 Export Version ERROR - image did not export!" - no information why.

Script is very simple:
Source node, with Other, my first project name, Tree structure, depth infinite and go into projects ticked
Action node: find all albums

Embedding IPTC in JPEG Masters

Ian, another question:

If I import JPGs into Aperture, edit the Metadata and want to export the masters with embedded Metadata I can choose an AA Action with the following settings:

Action
Export
Export Master
Embed Metadata

This is the same procedure like using the export masters command. But it doesn't work - after exporting IPTC is not available in the exported file. Only using "create XMP sidecar files" works. Do you have any idea what to do?

Thank you

smarflow

Find & replace of NewLine/CR character

Hello Ian

thanks for your great tool - I use it very often, and it is a big help. One question: Is it possible to find and replace a "New Line" or CR character (the one you get with Enter/Return while writing in Aperture metadata sets?

Thank you for your help!

smarflow

Multiple keyword find and replace

Hi Ian

Your tool may save me a lot of aggravation if it can do what I hope.

I've only just downloaded and started to play....

Having spent three days find and replacing Keywords for images in a project, could your product be used to automative the find and replace for multiple keywords?

Thanks

Tim

iPhoto Faces to Aperture

When iPhoto 9 added facial recognition features, some people complained about this feature not being in Aperture. I'd be surprised if this doesn't make it into Aperture 3 whenever that comes out, but for now here's a workaround, using the hidden 'fingerprint' stored in Aperture's Preview files.

  1. In Aperture 2.1 or above, generate Previews of the images you want to ID. The Preview preferences must be set to share Previews with iLife etc.

Import images from Apple Mail

I would like to import images from Apple Mail directly into Aperture. I found a script called Setup Mail Image Attachment Workflow but all it does is move the image to the Downloads folder and open
Aperture if it is not running and that is all. The image just stays in the Downloads folder. Also, this script is supposed to add IPTC metadata but it does not do this either. I am not familiar with scripting so not sure what may need to be edited to do what I want it to do. Can Aperture Assistant be configured to do this? Thanks, Mark

Syndicate content