Copying IPTC Description Field to Keyword
Is there a script or something to copy an IPTC Description field to a keyword? Thanks!
0
-
I would love to be wrong but I believe Keywords are READ/ONLY via AS!?!
Is there a particular reason you need your IPTC data in the keywords?0 -
Keywords are readonly, but I think it might be possible that an already existing Keyword may be added to a variant.
But why? One can pour a lot of effort into an Applescript, It's important to choose the simplest solution.
If the information is already in the IPTC Description field, you can sort using that field, and actually it's far easier to use that field for purposes like export receipes than to use a keyword.0 -
Not quite true
The keyword elements of a variant can be deleted and added to, but individual keywords are read only. As an example:tell application "Capture One 11"
tell primary variant to make new keyword with properties {name:"Test"}
end tell0 -
Awesome thanks James 0 -
I actually have to do this regularly because of an outdated customization to one of our enterprise systems. Took a bit of trial and error but eventually got there!
As others have already confirmed, you can't do this with AppleScript, but you can do it with exiftool by Phil Harvey:
The command strings you're looking for would look like this:exiftool "-Keywords<Description" -m example.psd
exiftool -sep ", " -tagsfromfile @ -keywords example.psd
I do this from the command line on a Mac, but I think there are some Exiftool GUI variants out there for Windows users.0 -
Or to do with CO tell application "Capture One 10"
set theTag to get content description of primary variant
tell primary variant to make new keyword with properties {name:theTag}
end tell0
Post is closed for comments.
Comments
6 comments