Trim Comp to Contents

  • Compatibility After Effects
    Please check exact version compatibility under the "COMPATIBILITY" tab below

Author: Zack Lovatt

Name Your Own Price You can pay anything you want, the amount displayed is only a suggested amount.
Add to Wishlist

Quick Overview

Trim or extend comp duration to fit layer contents.
Add Your Tags

Trim Comp to Contents

More Views

Videos

This script trims or lengthens your current comp duration to the in & out points of its contents, without affecting layer timing relative to one another.

If you have layers extending past the beginning or end of your composition, the script will extend the comp to fit them as well.

By default, the script will trim to all layers in your comp (including locked layers), though there are options to change functionality.

 

Options:

  • Trim to All - Trim to all layers (if checked) or selected layers (if unchecked).
  • Ignore Locked Layers - Consider locked layers for trimming, or leave them out of the logic.
  • Crop Nested Comps - Whether to run through any nested comps (precomps) and trim those as well
  • Preserve Comp Start Time - If comp doesn't start at 0, should the script preserve the start point?

 

Headless Version

If you're not interested in using the UI panel version, you can use Trim Comp to Contents with your favourite script launcher (like ft-toolbar or Script Launcher). Simply point the launcher/toolbar to the script file, and will run without showing the UI.

Using the following modifier keys, you can alter functionality in a few ways.

  • Alt / Option – Use selected layers only (vs all)
  • Shift – Ignore locked layers
  • Ctrl / Cmd – Preserve comp start time

 

Originally requested by Alan Fregtman.

After Effects CC 2018, CC 2017, CC 2015.3, CC 2015, CC 2014, CC, CS6, CS5.5, CS5, CS4
  • Swatcheroo

    Zack Lovatt

    • Compatibility After Effects

    Swatcheroo

    Swatcheroo is your handy dandy swatch pal. That's, uh, short for 'palette.'

    Add to Cart
    $15.00
  • Easy Bake

    Zack Lovatt

    • Compatibility After Effects

    Easy Bake

    Convert expressions to keyframes faster, simpler and with more control than ever before.
    Add to Cart
    $14.99
  • Create Pivotal Null

    Zack Lovatt

    • Compatibility After Effects

    Create Pivotal Null

    Quickly create a null at key layer points & parent layer to null.
    Add to Cart
    $4.99
  • Local Hero

    Zack Lovatt

    • Compatibility After Effects

    Local Hero

    Local Hero saves the day by migrating network assets to your local workstation for improved efficiency.

    Add to Cart
    $18.75
  • Find Large Files

    Zack Lovatt

    • Compatibility After Effects

    Find Large Files

    Find large files in your project by file size or resolution.
    Add to Cart
    $5.99
  • Project Item Labels

    Zack Lovatt

    • Compatibility After Effects

    Project Item Labels

    Set all / specified project item label colours per item type. Good for organizing imported projects.
    Add to Cart
    $5.99
View all Zack Lovatt products