after-effects-scripts
after-effects-scripts copied to clipboard
A collection of helpful scripts for After Effects that run natively or with a 3rd party script launcher
After Effects Scripts
A collection of helpful scripts for After Effects that run natively or with a 3rd party script launcher such as kbar2, Tool Launcher, or Quick Menu 2.
To run the script natively in After Effects use File > Script > Run Script File... and choose this script.
Scripts
Add 3D Break
Add an adjustment layer above the currently selected layer to break the 3D space of After Effects. If no layers are selected the adjustment layer will be added at the top.
Add Camera With Controller
Add a camera and 3D null as a controller to the current composition.
Add Fill With Color Cycle
Add the Fill effect to all selected layers while cycling through red, green, blue, yellow, magenta, and cyan.
Add Markers to Selected Layers
Add a new maker to all selected layers with an optional comment.
Add Selected Properties to Essential Graphics Panel
Add all selected properties to Essential Graphics Panel using effect names instead of property names for expression controls.
Add Posterize Time
Add an adjustment layer with the Posterize Time effect set to 12 fps.
Calculate Difference Between Keyframe Values
Calculate the difference between two keyframe values.
Calculate Distance Between Layers
Calculate the distance between any two layers. Two 2D layers will result in 2D distance (composition space). Two 3D layers will result in 3D distance (world space). One 2D layer and one 3D layer will result in 3D distance (world space). Hold the ALT key to force the result to be 2D distance (composition space). Forcing 2D distance (composition space) will result in the optical distance between two layers.
Center Composition
Center the composition in the Composition Panel. Hold the ALT key or SHIFT key for other zoom levels.
Change Nested Composition Duration
Change the composition and all layers to the given duration. All nested precomps will be affected as well (and precomps within those precomps and so on).
Clean Render Queue
Clean out the Render Queue.
Clean Selected Folder
Clean unused items from any selected folders. Remove empty folders unless they are top level.
Copy Composition Work Area
Copy the Work Area from the active composition. Hold the ALT key to paste the copied Work Area to the active composition.
Create Text Layers From File
Add a new Text Layer in the current composition for each line of text in the file in the selected text file.
Cycle Composition Background Color
Cycle the composition background color between black, gray, and white.
Disable Specified Effects
Disable all of the specified effects in the project. Hold the ALT key to enable.
Expose Essential Properties to Essential Graphics Panel
Essential Properties from a nested composition can not be directly added to the Essential Graphic Panel of the parent composition. Instead, run this script to expose those Essential Properties by using an intermediate expression controller. Select a layer to add all properterties or select specific properties to add them. This script does not currently support Dropdown Menu Control.
Force Composition Panel Refresh
Force the Composition Panel to refresh the current frame.
Hard Solo Layers
Disable (toggle the eyeball icon) on all unselected layers.
Invert Selected Keyframes
Invert selected keyframe values.
Lock All Layers
Lock every layer in every conmposition in the project.
Make Hold Keyframes
Convert selected keyframes into hold keyframes.
Randomize Layer Start Time
Randomly shift the start time of all selected layers within a provided range.
Randomize Selected Keyframe Values
Randomize the value for selected 1 dimensional keyframes.
Rename Composition to File Name
Rename the current composition to the same name as the project .
Rename First Layer to Composition Name
Rename the first layer in each selected composition to match the name of the composition.
Rename Layer Source
Rename the source of the currently selected layer.
Rename Selected Layers With Text
Rename selected layers and append each character along with character count.
Rename Selected Layers
Rename selected layers and append zero padded numbers.
Rename Source to Layer Name
Rename the source of the selected layer to match.
Reset Composition Work Area
Set the Work Area to cover the entire composition.
Round Position
Round the position values of selected layers to the nearest whole number.
Shift Selected Layers
Shift all selected layers to the Current Time Indicator as a group while maintaining relative timing.
Selected Unparented Layers
Select all unparented layers in the current composition.
Set New Color
Set new color based on original color, blend mode, and opacity.
Set To Average Position
Set the last selected layer to the average position of all other layers. Hold the ALT key to set the first selected layers to the average position of all other layers.
Stick Effect to Layer
Force effects wih selected position properties such as CC Bend It or Gradient Ramp to stick properly to a layer.
Toggle Difference Blend Mode
Toggle the blend mode of the selected layers between Normal and Difference. Hold the ALT key to force all selected layers to Normal blend mode. Hold the SHIFT key to force all selected layers to Difference blend mode.
Toggle Maintain Scale Expression
Disable or enable an expression that maintains the visual scale of a layer as its positioned in Z Space.
Toggle Onion Skinning
Toggle onion skinning in the current composition.
Zero Position
Zero out the position of all selected layers.