メインコンテンツへスキップ

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

Apple script to export images based on keyword hierarchy

コメント

2件のコメント

  • Benjamin Liddle
    I've moved this to the Scripting forum, where you'll likely see more interest and conversation regarding your query.
    0
  • Eric Valk
    That shouldn't be too hard.

    1. get the name and parent of every keyword

    tell application "Capture One 11" to set {name_s, parent_s} to get {name, parent} of keywords of theVariant

    2 find the key word whose parent is "Places"

    set found_it to false
    repeat with i from 1 to count of name_s
    if "Places = (get item i of parent_s) then
    set found_it to true
    set theFolderName to (get item i of name_s)
    exit repeat
    end if
    end repeat
    if not found_it then return


    3. The export AS command only exports originals. To export a variant you must use the AS process command, which uses a process recipe.

    The simple approach is to have a predefined process recipe for each "place"
    The more complex approach is to have only one process recipe
    ** manually set the root folder location of the process recipe to the "places" folder
    ** with AS set the output sub folder of the process recipe to "["&theFolderName&"]"
    0

投稿コメントは受け付けていません。