Welcome to episode 8 of the After Effects ExtendScript Training series. Using a lot of what we've already learned, we are going to combine some of the past code and make a decent sized script to create multiple comps of different sizes. We will also use Undo groups to package our code into one easy undo action. We'll start to use the writeln() method as well to give us unobtrusive feedback and we'll use a try catch statement to help us catch scripting syntax errors. In the second half of the video we will modify our script to create a solid layer of a specific color and place it into all of our comps. We will also make the solid match each of the custom comp settings.
Previous episodes in the series:
Episode 1 (Intro)
Episode 2 (Javascript Basics p1)
Episode 3 (Javascript Basics p2)
Episode 4 (After Effects Object Model structure overview / Script Preparation and development tips / Single Item Access of various project items, comps and layers)
Episode 5 (Access Renderqueue items, output modules and file paths / Multiple item access of project items, comps and layers / Batch change all renderqueue items file paths)
Episode 6 (Collecting data into an Array() / Changing values / Various tips)
Episode 7 (Create new comps and folders / Create Null, Solid, and Text layers)
In this episode:
– Create multiple comps of various sizes
– Use Undo group
– Add solids to match each comp
– Various tips