Skip to content

Instantly share code, notes, and snippets.

@bezineb5
Created August 22, 2020 14:42
Show Gist options
  • Save bezineb5/bd264bb508e96f511cb0ed81afea94de to your computer and use it in GitHub Desktop.
Save bezineb5/bd264bb508e96f511cb0ed81afea94de to your computer and use it in GitHub Desktop.
tell application "Capture One 20"
set imageNames to ""
repeat with variantItem in (get selected variants)
set adj to (get adjustments of variantItem)
-- Set linear curve
set film curve of adj to "Linear Response"
-- Autoadjust levels
-- For best results, in Capture One, in Preferences... -> Exposure -> Level Tool, Channel mode must be set to "Red, Green and Blue Channels"
autoadjust variantItem without adjust white balance, adjust exposure, adjust contrast brightness, adjust hdr, adjust rotation and adjust keystone
-- Negate the image
set adj to (get adjustments of variantItem)
-- Red level
set redLevel to (get level highlight red of adj)
set level highlight red of adj to (get level shadow red of adj)
set level shadow red of adj to redLevel
-- Green level
set greenLevel to (get level highlight green of adj)
set level highlight green of adj to (get level shadow green of adj)
set level shadow green of adj to greenLevel
-- Blue level
set blueLevel to (get level highlight blue of adj)
set level highlight blue of adj to (get level shadow blue of adj)
set level shadow blue of adj to blueLevel
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment