Where is my error? Trying to use an Apple script to call EXIFtool to set some meta data using the script function in Capture One...
I get this error:
Code:
set Aperture to 1.8
set theRespondedAperture to the text returned of ¬
(display dialog ¬
"What's the aperture value?" default answer Aperture ¬
with icon note buttons {"Cancel", "Continue"} default button "Continue")
tell application "Capture One 12"
set selectedVariants to get selected variants
repeat with i from 1 to number of items in selectedVariants
set this_item to item i of selectedVariants
set theID to id of (parent image of this_item)
do shell script "/usr/local/bin/exiftool -overwrite_original_in_place -preserve -m" & ¬
" -LensSerialNumber='1240777'" & ¬
" -Lens='Nikon Series E 50mm 1:1.8 LTii'" & ¬
" -LensModel='Nikon Series E 50mm 1:1.8 LTii'" & ¬
" -LensType='Nikon Series E 50mm 1:1.8 LTii'" & ¬
" -FocalLength='50'" & ¬
" -FocalLengthIn35mmFormat='54'" & ¬
" -MaxApertureValue='1.8'" & ¬
" -FNumber=" & theRespondedAperture & ¬
" " & quoted form of theID
--Remove the log statement when no longer needed. Used just for demo
-- log theID
reload metadata this_item
end repeat
end tell
I get this error:
Code:
error "Capture One 12 got an error: Error: File not found - 7773" number 1