Skip to main content

⚠️ Please note that this topic or post has been archived. The information contained here may no longer be accurate or up-to-date. ⚠️

Copying IPTC Description Field to Keyword

Comments

6 comments

  • Rick Allen
    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
  • Eric Valk
    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
  • Jim_DK
    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 tell
    0
  • Rick Allen
    Awesome thanks James
    0
  • Nathan Kula
    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
  • Rick Allen
    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 tell
    0

Post is closed for comments.