Does anyone know the syntax for adding items to the keywords in EXIF (file info) section?
I can make changes to all the other entries except for keywords.
Thanks
Does anyone know the syntax for adding items to the keywords in EXIF (file info) section?
I can make changes to all the other entries except for keywords.
Thanks
You have to have your keywords in a list, like this: {“Larry”, “Curly”, “Moe”}
This will set your keywords, or overwrite what’s already there:
tell application "Adobe Photoshop CS"
tell current document
tell info
set keywords to {"Larry", "Curly", "Moe"}
end tell
end tell
end tell
…and this will add keywords to what is currently there:
tell application "Adobe Photoshop CS"
tell current document
tell info
set keywords to keywords & {"Larry", "Curly", "Moe"}
end tell
end tell
end tell
[scratching head followed by wiping dandruff off shoulders]
I thought I was doing that. Back to the lab for me. I’ll double check my code and be kicking myself in the ass if I just scewed up the list.
Thanks