Skip to main content

⚠️ Please note that this topic or post has been archived. The information contained here may no longer be accurate or up-to-date. ⚠️

Adding CurvePoints to existing Curve

Comments

1 comment

  • Quentin Décaillet
    Hi Michael,

    I'm probably a bit late to answer. But in case you still need the info, here is a sample using AppleScript:

    tell application "Capture One 20"
    set selectedVariants to (get selected variants)
    tell document in front
    -- CHECKS IF ANY VARIANT IS SELECTED
    if selectedVariants is {} then
    display dialog "No selected variant. Please select variants and try again."
    else
    -- LOOP TO APPLY SETTINGS TO ALL SELECTED VARIANTS
    repeat with thisVariant in selectedVariants
    tell adjustments of thisVariant

    -- DEFINE VALUES FOR RGB CHANEL
    tell rgb curve

    -- SET VALUES FOR DEFAULT (0;0) POINT
    -- !! VALUES ARE DEFINED ON a 0-100 SCALE, NOT 0-255
    set brightness of first curve point to 0
    set amount of first curve point to 5

    make new curve point with properties {brightness:18, amount:14}
    make new curve point with properties {brightness:50, amount:55}
    make new curve point with properties {brightness:85, amount:87}

    -- SET VALUES FOR DEFAULT (100;100) POINT
    set brightness of last curve point to 100
    set amount of last curve point to 95

    end tell

    -- DEFINE VALUES FOR RED CHANEL
    tell red curve

    -- SET VALUES FOR DEFAULT (0;0) POINT
    set brightness of first curve point to 2
    set amount of first curve point to 0

    make new curve point with properties {brightness:50, amount:45}

    -- SET VALUES FOR DEFAULT (100;100) POINT
    set brightness of last curve point to 100
    set amount of last curve point to 98

    end tell
    end tell
    end repeat
    end if
    end tell
    end tell
    2

Post is closed for comments.