rd: Pre-compose

This script displays a dialog box for pre-composing one or more layers (like the built-in Pre-compose dialog box), but adds the ability to trim the pre-comp to the selected layer’s duration, with optional trim handles.

Current issue:

  • Using the “Leave all attributes” option on a single selected negatively stretched layer doesn’t trim the layer correctly.

Note: This version of the script requires After Effects CS5 or later.

Originally requested by Gary Jaeger.

rd: Pre-compose

revision history

v1.011-may-2013Moved out of labs. Updated minimum version to CS5, added small UI tweaks for CC, and cleaned up some code.
v0.9713-may-2012Updated for compatibility with AE CS6.
v0.9615-nov-2010Added batch mode (when moving attributes) to pre-compose each layer, and an option to use the layer name as the pre-comp name.
v0.9120-feb-2008Removed some code that confused the script if you tried to run it from the ScriptUI Panels folder.
v0.97-oct-2007Initial pre-release. Requires AE CS3.