After Effects ExtendScript Training: Ep. 10

June 09th 2012 08:00:29am

In this episode:

  • Build a custom function to collect all CompItem objects
  • Modify function to dynamically allow for choice of CompItem, FolderItem or FootageItem

UPDATED: 6/30/13: Made some corrections.

Welcome to episode 10 of the After Effects ExtendScript Training series. In this episode we will create a custom function that will allow us to easily retrieve specific types of project items like CompItems, FolderItems, or FootageItems. Learn how to set arguments for our function, which will allow us to pass outside information into our function.

Functions can be very dynamic and can help consolidate a series of coded tasks into one simple function that you can call in your code later on. Functions can be used more than once without having to type out all of the coded tasks each time. Functions will be a very powerful tool in your scripting arsenal.

Checkout more:
Redshift3D Candy Collection
Free Function Friday Ep.18 – getAELanguage
Houdini Mardini Ancient
X-Particles Custom Branch Generator
Houdini | Attributes