Bug in "Clone Variant" command

Discussion regarding all scripting related questions
Please DO NOT post to this thread anything that is not directly related to scripting of Capture One.

Bug in "Clone Variant" command

Postby Eric Nepean » Sun Jun 23, 2019 7:15 pm

FYI All Developers
I have discovered and submitted the following bug in CO 12.1.0.150 to Phase One
Regarding the Applescript command: Clone Variant additive select true
Problem: If the selection is empty, the clone is not added to the selection.

Steps to reproduce:

Open an album or a smart album. select one or more variants
Run this script:
Code: Select all
tell application "Capture One 12"
   set thevariant to (first variant whose selected is true)
   deselect current document variants (variants)
   clone variant thevariant with additive select
end tell

Outcome: A clone is generated. Nothing is selected.
Expected Outcome: A clone is generated, the clone is selected.
Cheers, Eric
[late 2015 iMac, 4GHz i7, 24GB RAM, external SSDs. GX8, E-M1, GX7, GM5, GM1 ....]
Eric Nepean
 
Posts: 522
Joined: Sat Oct 25, 2014 8:02 am
Location: Ottawa

Return to Scripting



Who is online

Users browsing this forum: No registered users and 1 guest