Capture One 20 AS Import Command Does Not Honour Exclude Duplicates Setting
Hi there,
I want to import photos from a selected folder and have C1 file them by camera model, then date structure according to image date. Works fine in the UI: if I check Exclude Duplicates in the Import panel, duplicates are duly ignored and not reimported.
Trying to do the same thing with Applescript always results in duplicates being imported and renamed using an incremental numerical suffix, regardless of the exclude duplicates setting. Bug in C1 20 or is there something I missed?
The code:
use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions
property cameraModel : "iPhone8"
property copyRighter : "A.N. Person"
tell application "Capture One 20"
tell front document
set sourceFolder to choose folder with prompt "Select folder to import:" default location alias "Data:Photography:"
try
tell import settings
set its destination type to custom
set its exclude duplicates to true
set its destination folder to alias ("Data:Photography:" & cameraModel & ":") -- "/Volumes/Data/Photography/" & cameraModel & "/"
set its destination sub folder to "[Image Year (yyyy)]/[Image Month (MM)]/[Image Day of Month (dd)]"
set its import naming format to "[Image Name]"
end tell
on error errMsg number errNum
display dialog "Error " & errNum & ": " & errMsg buttons {"Quit"} default button 1 with title my name
return
end try
import source sourceFolder
end tell
end tell
0
-
Anyone know if the 'exclude duplicates' property of import settings works as expected in 14.3.0?
0
投稿コメントは受け付けていません。
コメント
1件のコメント