Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

🥞 Layers Scripts

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 a comment (or remove a comment) to all selected layers.


Add the Fill effect to all selected layers while cycling through red, green, blue, yellow, magenta, and cyan.


Append text to the beginning of the layer name for all selected layers.


Calculate the distance between any two layers.

Distance Types:

  • 2D Distance is the distance between two layers in composition space - the optical distance
  • 3D Distance is the distance between two layers in world space - the literal distance

Calculation Combinations:

  • 2D and 2D will default to 2D Distance
  • 3D and 3D will default to 3D Distance
  • 2D and 3D will default to 3D Distance

Hold the ALT key to force any combination to calculate 2D Distance.


Connect two layers with a Shape Layer stroked line.


Run the script, select an SRT file, and automatically convert all subtitles into After Effects Text Layers with no styling applied just in and out point timing.


Convert all Text Layers in the current composition to Shape Layers using the Menu > Layer > Create > Create Shapes from Text command but with the following customizations:

  • Layers with names that start with DNU (Do Not Use) will be ignored
  • Previously converted layers will be ignored

Warning

Due to the use of the app.findMenuCommandId(); method this script may only work in English After Effects installations.


Add a Text Layer to the current composition for each line in the selected text file.


Duplicate the selected layer exactly like pressing CMD/CTRL + D but move the new layer directly below the selected layer instead of above it.


Extend every layer to match the composition duration in every composition in the current project.


Find all instances of a specific effect in the current project. Add additional effects to be checked to the MatchNames object.


Display the duration (seconds) for the currently selected layer.


Disable all selected layers.


Lock all layers in all compositions in the current project.


Copy position values then parent individual layers to a matching Newton layer.


Match the in point of all selected layers to the layer directly below it.


Match the start time of all selected layers to the layer directly below it.


Parent the closest layer in the composition to each selected layer. Calculations done in 2D space. Typically used in conjunction with Newton by Motion Botique.


Connect the opacity of a layer to the opacity of the parent layer. Both opacity properties can be animated individually however the lowest opacity value will always be used.


Parent each selected layer to the layer directly below it.


Posterize the start time of all layers in a composition to be on 2s.


Randomly shift the start time of all selected layers within a provided range.


Rename selected arm puppet pins in preparation for DuIK. Hold the ALT key to rename selected leg puppet pins.


Rename the selected layers append letters as needed.


Rename the selected layers appending zero-padded numbers as needed.


Rename the selected layers appending each character and character count as needed.


Renames a selected layer to match the layer below and appending Matte to the end.

Warning

This script doesn't detect actual Track Matte pairs. This script also assumes the timeline is set up using the old style of mattes where mattes were required to be directly above a layer.


Replace the selected Grid Rig Control null layer created by Flex by Zack Lovatt with a shape layer. This script assumes default and un-keyframed values.


Replace text in the name of all selected layers. RegEx is accepted.


Reset the name for all layers in the current composition.


Restore all selected layer labels to their default as defined in the After Effects preferences.


Set the label for all layers in the current composition to None or label 0.


Set the label color for all track matte layers in the active composition to 16. In my preferences label 16 is Black #000000 and is always used for track mattes.


Set the last selected layer to the average position of all other layers. Hold the ALT key to set the first selected layer.


Set the track matte for all selected layers to the layer above it.

  • TrackMatteType.ALPHA
  • TrackMatteType.ALPHA_INVERTED
  • TrackMatteType.LUMA
  • TrackMatteType.LUMA_INVERTED
  • TrackMatteType.NO_TRACK_MATTE

Shift the start of a group of selected layers to the current time while maintaining relative timing within the group.


Help effects with position properties such as CC Bend It or Gradient Ramp stick properly to a layer.


Toggle the blend mode of the selected layers to Difference. Hold the ALT key to toggle back to Normal.


Set all DuIK Pin layers to visible. Hold the ALT key to set to guide layers.


Disable all specified effects in the current project. Hold the ALT key to enable. Add additional effects to be checked to the MatchNames object.


Unlock all layers in all compositions in the current project.


Zero out the position of all selected layers.