I have some info stored in the “Headline” field of the exif data of a photoshop document. I can see the info from the field in a listing of the exif data but am not making the connection as to how to pull specifically that field out of the list.
Any pointers?
Have you searched in the AppleScript | OS X section of this forum?
Thanks for the reply. Since this posting I received some assistance from iMagine Photo and have found a solution.
tell application "iMagine Photo"
set thisImporter to import graphic (theItem as POSIX file)
set exifInfo to the exif data of thisImporter
close thisImporter
set projectInfo to my GetExifUnicodeFromExifType(full name, exifInfo)
quit
end tell
on GetExifUnicodeFromExifType(exifType, exifData)
set resultVal to missing value
using terms from application "iMagine Photo"
repeat with theItem in exifData
if the exif type of theItem is equal to exifType then
set resultVal to exif unicode of theItem
exit repeat
else
set resultVal to ""
end if
end repeat
end using terms from
return resultVal
end GetExifUnicodeFromExifType