Starting with After Effects scripting can seem like a daunting task. To help develop your abilities good resources are essential. There is a small but very tight nit community of After Effects programmers that have created loads of amazing After Effects scripting resources.
The resource list: http://codeandmotion.com/extendscript/after-effects-scripting-resources/