Copy the Aperture Version Name to the IPTC ObjectName (Title field in Aperture)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Copy the Aperture Version Name to the IPTC ObjectName (Title field in Aperture) | |
tell application "Aperture" | |
set selectedImages to (get selection) | |
if selectedImages is {} then | |
error "Please select an image." | |
else | |
repeat with i from 1 to count of selectedImages | |
tell library 1 | |
tell item i of selectedImages | |
set versionName to (get value of other tag "VersionName") as string | |
log versionName | |
make new IPTC tag with properties {name:"ObjectName", value:versionName} | |
end tell | |
end tell | |
end repeat | |
end if | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment