You are here

1 post / 0 new
Applescript Import and Tag #1
Rob Phelan's picture
by Rob Phelan
December 2, 2014 - 5:23am

Hi guys, I’m a little new to tweaking Aperture with Applescript and I think I’ve got what should be a pretty straightforward task, but I’m getting a bit bogged down and though someone here might be a bit better versed and help me figure out a direction to go.

Here’s the skinny. I have 3 items as input:

  1. A folder of images on disk ($imageFolderOnDisk)
  2. A project name ($projectName)
  3. A keyword ($keyword)

I want to accomplish the following:

  1. If a project named $projectName doesn’t exist in the library, create a project named $projectName.
  2. Create an album ($apertureAlbum) named the same as $imageFolderOnDisk as a child of the project $projectName.
  3. Import all files from the folder $imageFolderOnDisk into the Aperture Album named $apertureAlbum.
  4. Add the keyword $keyword to all images in the album $apertureAlbum.

Here are the holes in my knowledge:

  1. I don’t know how to create an album such that it is a child of a project
  2. I don’t know how to select all the images in an album and apply a keyword to them.
  3. Corollary to #2: I don’t know if there is a more efficient way to apply a keyword to all images in an album.

Anyone have any hints that can get me headed down the yellow brick road?

Thanks,

-Rob

 

#nofilter before anyone knew what it meant.

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