Scripting in After Effects
Taught by Mathias Möhl
- Course Number:
- Software Version:
- Original Run Date:
- January 2016
- 6 hours 22 minutes
Scripts are computer programs - like little robots - that perform tedious repetitive jobs for you automatically. During this course, you will develop step by step a script to adjust the content of lower thirds. In a convenient user interface, you just enter the desired text and some other parameters like the desired color and logo icon - and with a single click the script updates the After Effects project accordingly.
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. His most popular AE scripts comprise MochaImport+, iExpressions, Auto Lip-Sync and Tracker2Mask. 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.
Class 1: Writing our first lines of codeWe start writing our first lines of code: Set the text of text layers and keyframe some properties. Wow, this is programming? Yes, the code looks a bit scary, but creating it is easy: Mostly pushing some buttons of an intuitive helper tool.
Class 4: app.project in more detailWe explore app.project in more detail. Since it is so huge, we will not be able to cover all of it. But you will see the most important parts - and learn how to use the documentation efficiently to dig deeper.
Class 6: LoopsYou learn how to use loops. They are essential, for example, to iterate over the layers of a composition or the keyframes of a property. We use them to ensure that our lower thirds script removes all old keyframes properly before creating new ones.
Class 7: Create a scriptYou know all the basics now - time to apply this knowledge! We create a script to select specific layers in a composition and maybe we also have some fun generating random text layers.
Class 9: Create a user interfaceWe create a user interface for our lower thirds script. The user interface will look nice, but will still be an empty shell with no functionality connected to it, yet.
Class 10: Connect the user interface to the codeWe connect the user interface to the code of our lower third script. Congratulations, you finalized your first script with fully functional user interface!