June 09th 2012 08:00:29am
In this episode:
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.