Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Applescript reference for Aperture 3

Does anyone know where I can find the Applescript reference for Aperture 3? I found some links, but they now point to a Photos page in Japanese.

I have to do some file and metadata manipulations as I migrate from Aperture to CaptureOnePro, for which I am using Applescript. Right now trying to extract the year the image was created from Aperture.

Aperture 3, OS X Mavericks (10.9.5)

Posted on May 4, 2015 9:23 PM

Reply
Question marked as Best reply

Posted on May 5, 2015 12:51 AM

Have you shown the dictionary of Aperture? In Script editor > File > Open Dictionary

You can extract the EXIF tags for an image version "image" like this:


User uploaded file

tell application "Aperture"

set imageSel to (get selection)


if imageSel is {} then

error "Please select an image."

else

set im to the first item of imageSel


tell im

set imageDate to value of EXIF tag "ImageDate"

return the year of imageDate

end tell

end if

end tell

1 reply
Question marked as Best reply

May 5, 2015 12:51 AM in response to ericnepean

Have you shown the dictionary of Aperture? In Script editor > File > Open Dictionary

You can extract the EXIF tags for an image version "image" like this:


User uploaded file

tell application "Aperture"

set imageSel to (get selection)


if imageSel is {} then

error "Please select an image."

else

set im to the first item of imageSel


tell im

set imageDate to value of EXIF tag "ImageDate"

return the year of imageDate

end tell

end if

end tell

Applescript reference for Aperture 3

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.