AppleScript to set IPTC Tags
The below script can change IPTC tags, including on videos where it is not possible through C1 GUI
use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions
set optionList to {"Image Location", "Image City", "Image State", "Image Country", "Image Country Code"}
set theOption to choose from list optionList with prompt "What rating ?"
if theOption is false then
log "process cancelled"
else
set theOption to theOption's item 1 (* extract choice from list *)
set DIALOG_1 to (display dialog "Enter value for " & ¬
quoted form of theOption default answer "" buttons {"OK"} default button 1)
set theValue to text returned of DIALOG_1
tell application "Capture One 21"
set theVariantList to selected variants
repeat with theProcessVariant in theVariantList
tell theProcessVariant
if theOption = "Image Location" then
set image location to theValue
else if theOption = "Image City" then
set image city to theValue
else if theOption = "Image State" then
set image state to theValue
else if theOption = "Image Country" then
set image country to theValue
else if theOption = "Image Country Code" then
set image country code to theValue
end if
end tell
end repeat
log "process over"
end tell
end if
It is possible, though much more complex, to automate this to take an external file (for exemple csv) to replicate another catalog IPTC metadata
0
Post is closed for comments.
Comments
0 comments