New course: Advanced Scripting for After Effects

Do you already have some experience with scripting in After Effects? Then this advanced level course will take your scripting work to the next level! In this 300-level offering, scripting expert Mathias Möhl will focus on three aspects: scripting tools, clean code and hands-on examples.

This course is the second in our series of courses taught by Möhl. He is also the prof for our incredibly well-received introductory course, Scripting in After Effects. Join fxphd now and get immediate access to these and our more than 150 other courses on offer.

Here’s a brief over of what the course will be covering:

Course Overview

Scripting Tools

Learn how to use the distributed version control system git that turns your code into a time machine in which you can track changes, access previous version of your code and collaborate with other team members. Also, learn how to configure the Atom text editor for After Effects scripting to turn it into a very powerful alternative for ExtendScript Toolkit. The best of it: Both git and Atom are not just highly professional software development tools, but also available free.

Clean Code

The larger your scripting projects become, the more important it is to write clean code, that consists of independent, modular and reusable code blocks. In this course you learn how to write such clean code and how to create your own library of reusable code snippets. To achieve this goal, you also learn how to use functions effectively and how to use the Module and Constructor patterns.

Hands-on Example

All the concepts mentioned above are explained based on hands-on After Effects scripting examples. You learn, for example, how to embed images for the user interface of a script directly in the code and how to read data from a spreadsheet.

Mathias Möhl is cofounder of mamoworld.com, a company with a strong focus on the development of scripts and other extensions for After Effects and Premiere Pro. His most popular developments comprise the After Effects scripts MochaImport+, iExpressions and Auto Lip-Sync as well as BeatEdit for Premiere Pro. Mathias is also an experienced trainer. He released more than 100 free video tutorials on mamoworld.com and has been invited to present at events like Animago and the After Effects World Conference. In an earlier life, Mathias did a PhD in Computer Science (which got the top rating “summa cum laude”) and as a researcher in Bioinformatics, he published more than 15 articles in international, scientific conferences and journals.

Learn how to use the distributed version control system git that turns your code into a time machine in which you can track changes, access previous version of your code and collaborate with other team members. Also, learn how to configure the Atom text editor for After Effects scripting to turn it into a very powerful alternative for ExtendScript Toolkit. The best of it: Both git and Atom are not just highly professional software development tools, but also available free.

Class by class breakdown

CLASS 1

We start by configuring the Atom text editor for After Effects scripting. We configure Atom such that it does proper syntax highlight for jsx files and configure a keyboard shortcut that executes the After Effect script directly from inside Atom. Also, you get a first overview of the git version control system.

CLASS 2

Here you get some first practical experience with git and learn how to access previous versions of your scripting code with it. You also learn how to add icon buttons to the user interface of a script.

CLASS 3

In this class Mathias explains how to embed binary files – like the images of icon buttons – directly in your code. You also learn how to make your code more modular by using functions effectively.

CLASS 4

In this class we cover how to use the embedded binary data we created in the previous class. You also learn how to use tags in git to label important points in time in your development. Furthermore, you learn how to use exceptions in JavaScript to do proper error handling.

CLASS 5

Time to cleanup your code: Today we cover the Module pattern which is a key concept for modular and reusable code. You also learn how to execute command line calls from a script, how to open an URL in the default browser and how to create snippets in Atom.

CLASS 6

Reading data from a spreadsheet is useful in many scenarios where After Effects should be used in an automated way. In this class we start writing a function that reads data from a spreadsheet. We also cover a good habit how to deal with optional arguments of functions.

CLASS 7

In this class we finish the spreadsheet parser we started in the previous class. You also gain some hands-on experience in debugging your code with ExtendScript Toolkit.

CLASS 8

In this class we cover the Constructor pattern which allows you to create objects in the spirit of Object Oriented Languages like Java or C++. Like the Module pattern, this is a key concept for clean, reusable code.