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. ⚠️

Help with Dodge and Burn Script

Comments

2 comments

  • Marcel Erdelen

    This works for me:

     

    tell application "Capture One 21"

     

    tell layers of primary variant

     

    -- create a new layers named Dodge and Burn

     

    set NewLayerDodge to make new layer with properties {name:"Dodge", kind:adjustment, opacity:50} at end

     

    set NewLayerBurn to make new layer with properties {name:"Burn", kind:adjustment, opacity:50} at end

     

    tell adjustments of NewLayerBurn

     

    -- DEFINE VALUES FOR RGB CHANEL

     

    tell luma 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 0

     

    make new curve point with properties {brightness:57.4, amount:48.5}

     

    -- SET VALUES FOR DEFAULT (100;100) POINT

     

    set brightness of last curve point to 100

     

    set amount of last curve point to 100

     

    end tell

    end tell

     

    tell adjustments of NewLayerDodge

     

    -- DEFINE VALUES FOR RGB CHANEL

     

    tell luma 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 0

     

    make new curve point with properties {brightness:48.5, amount:57.4}

     

    -- SET VALUES FOR DEFAULT (100;100) POINT

     

    set brightness of last curve point to 100

     

    set amount of last curve point to 100

     

    end tell

     

    end tell

     

    end tell

     

    end tell

    1
  • Jorge Femat Solis

    Wooow, thanks this works great, its going to be a time saver

    0

Please sign in to leave a comment.