I am testing out Capture One to switch over from Lightroom and as I shoot film and scan at home I always like to add in the camera and lens data. LR has plenty of plugins for this task but in Capture One it looks like my only option to change Camera Make/Model and Lens etc in the EXIF is to run exiftools via an Applescript.
I have tried a few things and had a good look around online but can't see how to achieve what I want:
1. Highlight one or more images in Grid view in Capture One
2. Go to the menu and choose the script and have it loop through and update the EXIF data on the selected images only.
The code below is what I have tried so far from bits and pieces I have found but I get an error "No File Specified"as I can't figure out how to grab the current file/s names/paths and stick them at the end of the exiftools command and change it as it loops through to update each image's EXIF. Perhaps the whole thing is wrong?
Any help would be great - thanks.
I have tried a few things and had a good look around online but can't see how to achieve what I want:
1. Highlight one or more images in Grid view in Capture One
2. Go to the menu and choose the script and have it loop through and update the EXIF data on the selected images only.
The code below is what I have tried so far from bits and pieces I have found but I get an error "No File Specified"as I can't figure out how to grab the current file/s names/paths and stick them at the end of the exiftools command and change it as it loops through to update each image's EXIF. Perhaps the whole thing is wrong?
Any help would be great - thanks.
Code:
tell application "Capture One 10"
set selectedVariants to (get selected variants)
tell document 1 -- as far as I can tell there is only ever 1 document
if selectedVariants is {} then
display notification "No images selected - select one or more images"
else
repeat with counter from 1 to count of selectedVariants
do shell script "/usr/local/bin/exiftool -lens='Leica Summicron-M 35mm f/2' "/path/to/file/image.jpg""
end repeat
end if
end tell
end tell