Create Trimmed Adjustment Layer

photo © haircutsz via Flickr

Based on a user request here on aescripts, CreateTrimmedAdjustmentLayer will create a new Adjustment Layer and trim it to the range of the selected layers.

CreateSeveralTrimmedAdjustmentLayers will create an adjustment layer for each of the selected layers.  The new adj layer can have a custom name defined in the User Variables section and also has the option of including the name of the layer that it’s adjusting below.

Download: CreateTrimmedAdjustmentLayer.jsx

Download: CreateSeveralTrimmedAdjustmentLayers.jsx


11 Responses to “Create Trimmed Adjustment Layer”

  1. bimdas said on June 7th, 2008 at 3:19 am

    This script is gold! I also love how they are black solids. Just one more request pretty please? can you please make it so when I select more than one layer, the script creates seperate trimmed adjustment layers for those layers instead of one?
    Again thank you so much for your wonderful scripts.

  2. lloyd said on June 7th, 2008 at 8:38 am

    done!

  3. bimdas said on June 7th, 2008 at 10:21 am

    It’s perfect! This is a massive time saver. Thanks so much!

  4. Roded said on July 4th, 2008 at 8:02 am

    WOW!!! you read people minds.i was waiting for that to come.
    i wonder if you can come up with a script that automatically adjust the work area apone a selected layer/layers.

    great job on this one body!
    Thanks.

  5. lloyd said on July 4th, 2008 at 11:07 am

    That functionality is already built in to AE:

    http://livedocs.adobe.com/en_US/AfterEffects/8.0/WS3878526689cb91655866c1103a9d3c597-797a.html

  6. Alex D said on September 16th, 2008 at 6:14 pm

    Super useful, thanks!

    Sorry, slightly off topic but, (i couldn’t find a requests section) is it possible to write a script to that adds options to your adjustment layers that let you single out what layers below it get effected? This would minimize comping greatly.

    Thanks again,

    -A

  7. Warp said on February 4th, 2009 at 11:21 am

    can you create one for Null objects as well? That would be beyond awesome.

  8. CO5 said on March 25th, 2009 at 5:04 am

    pls give me the MasksToLayers.jsx file if u have it :) tnx u are the best

  9. Stephen said on March 31st, 2009 at 11:00 am

    Is this script compatible with AE CS3? I appear to be having some problems getting it to work.

    Here is what I did:

    1. Create a solid in a new comp, dropped Fractal Noise onto it.
    2. Create a second sold above the first layer, drew a mask on it.
    3. Selected this “top” layer, went to File -> Scripts, CreateTrimmedAdjustmentLayer.
    4. Dragged HUE/SATURATION onto the Adjustment layer. Selected Colorize, and it changed the color of BOTH layers.

    I also tried using “CreateSeveralTrimmedAdjustmentLayers”. This creatied an Adjustment Layer, and renamed it just to the “top” layer’s name. Which was the only one I had selected. Added HUE/SATURATION again, still effected ALL layers.

    Please advise! Thanks!

  10. lloyd said on March 31st, 2009 at 1:02 pm

    @Stephen - You might not be understanding correctly how adjustment layers work. Here’s the AE docs that explain their functionality. Essentially an adjustment layer will affect all layers below it.

  11. Yenaphe.info » Top 10 scripts for After Effects (for workflow enhancement) said on May 16th, 2009 at 2:27 pm

    [...] Create trimmed adjustement Layer (Lloyd Alvarez) That’s the goodness of the script. Trimmed when created ! This one is a real time [...]

Leave a comment

RSS feed for comments on this post · TrackBack URI

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>