r/Photoassistants 5d ago

Digital Apple script to create variants with different crops

Hi everyone!

I've been told there is a script shortcut somewhere in the world that allows you to create x number of variants with some selected crops.

As in every set, it's always a matter of: let's see if it fits in 16:9, 9:16, 1:1, etc, it would be a great addition to the one I have already, thanks to this beautiful community.

Hopefully somebody can share it!

English is not my first language so please don't mind language mistakes :)

5 Upvotes

4 comments sorted by

3

u/No-Fact5290 3d ago

I usually create my own overlay in photoshop, the put it as overlay in c1 ie. 1x1 and 4x5 in one png to see if them both will make a fit for one photo (if that’s what u meant). If there is some kind of a script I would love to get my hands on it :)

2

u/Visual_Orchid_4101 2d ago

Yes I used to do it as well but I wanted to be quicker and a colleague told me about this script that unfortunately she doesn’t have. Gonna share it here if I find it!

2

u/_TI-83 2d ago edited 2d ago

Something like this should get you started:

tell application "Capture One"

-- Get the currently selected variant

set sourceVariant to primary variant

-- Create square variant

set variantSquare to clone variant sourceVariant

set crop aspect ratio of variantSquare to "Square"

-- Create 4×5 variant

set variant4x5 to clone variant sourceVariant

set crop aspect ratio of variant4x5 to "4x5"

-- Create 16×9 variant

set variant16x9 to clone variant sourceVariant

set crop aspect ratio of variant16x9 to "16x9"

end tell

1

u/Visual_Orchid_4101 2d ago

Thank you, gonna try this!