Re-Setting Favorites folder
Q: Where are favorites saved in Capture One?
Trying to find ways around favorites both during capture and after the fact when processing files. Curious if anyone has any scripting suggestions to add capture folders to a session album (Not favorites) or remove all items from favorites once a shoot is wrapped.
Trying to find ways around favorites both during capture and after the fact when processing files. Curious if anyone has any scripting suggestions to add capture folders to a session album (Not favorites) or remove all items from favorites once a shoot is wrapped.
0
-
You can remove favorites with the following script:
tell front document of application "Capture One 12"
delete (every collection whose kind is favorite and user is true)
end tell
This one will create create an album for the capture folder and add all of the variants. However, Capture One throws an error when making an album with the same name as the Capture Folder even though adding an album from C1 works. This might be a bug in how C1 handles making new collection from AppleScript. As a work around the album gets " 1" at the end.
tell front document of application "Capture One 12"
set captureCollection to item 1 of (collections whose kind is favorite and id is "capture")
log name of captureCollection as string
set captureDir to captures
tell application "Finder" to set captureName to (name of folder captureDir)
try
-- C1 throws an error when making an album with the same name as the Capture Folder
-- even though adding an album from C1 works
set tempName to captureName & " 1"
if (count of (collections whose kind is album and name is tempName)) is equal to 0 then
set newAlbum to make collection with properties {name:tempName, kind:album}
add inside newAlbum variants every variant of captureCollection
end if
on error errMsg
log errMsg
display dialog errMsg buttons {"OK"} default button "OK"
end try
end tell0
Post ist für Kommentare geschlossen.
Kommentare
1 Kommentar