The first of a two part tutorial is online. In this tutorial, I will walk you through the basics for creating scripts for After Effects. Scripts can help to speed up your workflow and make repetitive tasks quick and easy. If you've never worked with scripts before, I reccommend you check out all of the different things that they can do:
This tutorial is not going to teach you everything about JavaScipt, only the very basics, so after watching, I reccommend doing some research on your own. I also advise that you download the After Effects Scripting Guide.
Alright, so lets get started writing some code: