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. ⚠️

Add data to Metadata fields via AppleScripts

Comments

7 comments

  • Rick Allen
    UI scripting is very temperamental (IE almost never works across different systems).
    If you workspace isn't exactly the same as the original workspace you'll run into errors like these.
    What fields are you trying to map the variables to?
    The way to do it is to use full sync in metadata preferences edit the xml file via applescript the load metadata in CO.

    Not simple but possible 🙄
    0
  • Sean Murphy
    Just a few:
      Creator
      Creator's Job Title
      Address
      Ciry
      Postal Code
      Headline
      Category
    0
  • Jim_DK
    Actually no.

    CO10 has properties for all:

    Image meta data (e.g Exif stuff which is R/o)
    Variant meta data (e.g IPTC stuff which is R/w).

    It makes meta data automation a lot easier!

    You can find the properties in the CO10 dictionary under the Capture One Suite> Variant
    0
  • Corey Riggle
    With a lot of help from Rapdigital and the forum, I came up with this.
    Hopefully more examples help others.


    --this adds the model's name to Personalities metadata field
    display dialog "model name?" default answer "" with icon note buttons {"Cancel", "Continue"} default button "Continue"
    set model to text returned of the result
    tell application "Capture One 10" to tell current document to tell current collection
    repeat with thisVariantIndex from 1 to count of every variant
    tell variant thisVariantIndex to set Getty personalities to model
    end repeat
    end tell
    0
  • Eric Valk
    WhT version of Capture One are you now using?
    0
  • Corey Riggle
    [quote="Eric Nepean" wrote:
    WhT version of Capture One are you now using?


    This was created with 10.
    0
  • Rick Allen
    This version will ask you to make sure a folder is fully loaded before adding the metadata. If you haven't opened a large folder of images in the current session before it takes time to load the folder, indicated by the image count above the thumbnail viewer.

    display dialog "model name?" default answer "" with icon note buttons {"Cancel", "Continue"} default button "Continue"
    set model to text returned of the result
    tell application "Capture One 10" to tell current document to tell current collection
    --set thePath to path of parent image of variant 1
    set theNumber1 to count of every variant
    delay 0.1
    set theNumber2 to count of every variant
    if theNumber1 ≠ theNumber2 then
    display dialog "Please wait for folder to load. Once loaded hit continue" buttons {"Cancel", "Continue"} default button "Continue"
    end if
    repeat with thisVariantIndex from 1 to count of every variant
    tell variant thisVariantIndex to set Getty personalities to model
    end repeat
    end tell
    0

Post is closed for comments.