Export Variants syntax
Hello,
I am trying to export variants to a folder locally on my PC (specifically a google drive synced folder) and I am trying to figure out the syntax.
In the dictionary there is a export originals command with a required direct parameter of document and a required parameter of variants. I have tried added the export originals within a tell block and outside it but keep getting errors, like below.
Can anyone help me figure out the correct syntax here?
tell current document
set listOfVariants to variants
export originals listOfVariants
end tell
-
It's not obvious, but you need to include the keyword "variants" in the call. This sort of thing gets me all the time with some commands.
tell front document of application "Capture One 20"
set listOfVariants to selected variants
export originals variants listOfVariants
end tell1 -
Thank you! It worked out!
I was trying to figure out this one command and it was just not working at all and the errors were not very helpful.
One last question if you dont mind me asking but I only see the command to export originals is there some other way of exporting variants, like in this article?
https://support.captureone.com/hc/en-us/articles/360002629857-Exporting-variants0 -
No problem, glad that worked.
You use the `process` command to export images. I believe it defaults to processing all enabled recipes, but if you want just one you'd do
tell front document of application "Capture One 20" set listOfVariants to selected variants process listOfVariants recipe "RecipeName" end tell
0
Post ist für Kommentare geschlossen.
Kommentare
3 Kommentare