Page 1 of 1

adding albums

PostPosted: Fri Mar 03, 2017 10:27 pm
by rapdigital
Anyone managed to add a session favorite or album?
Code: Select all
set newCol to make new collection of document 1 with properties {kind:album, name:"selected"}


just results in missing value error....?

Re: adding albums

PostPosted: Sat Mar 04, 2017 1:08 am
by rapdigital
Code: Select all
   tell document 1 to set newCol to make new collection with properties {name:"selected2", kind:album}


Now how to add an image to the collection

Re: adding albums

PostPosted: Mon Mar 06, 2017 7:41 pm
by Ernesto J.
Favorites need an actual folder to reference. Name is the name of the reference, so not needed.

Code: Select all
tell application "Capture One 10"
   set thedoc to document 1
   set thefile to POSIX file "/Users/Shared/test/Capture"
      tell thedoc
         set thecoll to make new collection with properties {kind:favorite, file:thefile}
      end tell
end tell