After Effects ExtendScript Training: Ep. 18 Part 3

August 03rd 2012 08:45:02am

NOTE: The title card in the recording will say “Part 1”. That is a mistake, it is actually part 3 content.

In this episode:

  • Load resulting data into a multi-column listbox.
  • Create function to strip a file extension and return just the file name.
  • Create function to populate a listbox.
  • Create function to sort and remove duplicate result information.

Welcome to episode 18 of the After Effects ExtendScript Training series. This week We tackle our fourth full length script and it will involve roughly 260 lines of code.

Today we will build a functioning dockable GUI that contains a button that launches our process to search for all effects plugins applied to our layers, then sorts the resulting data and removes duplicate info from our results, then populates that data into a two column listbox. We will also have a button that will easily save that final data to a text file for offsite review or handoff to a third party.

Four completely new functions will need to be created as well as modifying some previous functions we’ve made. After this episode, you’ll have reusable functions that grab all effects that have been applied to layers in your project, populates a multi-column listbox, strips the file extension and gives you only the file name, sorts and removes duplicate array info, and more.

We will also be dealing with assigning onClick events for our buttons. I did my best to shorten this tutorial, but it still came in at just under two hours long, so there is a lot to go over here. Let’s do this.

Checkout more:
Houdini | Velocity Forces
After Effects ExtendScript Training: Ep. 5
Free Function Friday Ep.10 – resizeComp
X-Particles Custom Branch Generator
X-Particles Simulating Lava