>What books/websites would you suggest to really get a good grasp on the principle/theory and rationale behind scripting.
I guess that depends. Have you done any programming before? If so, probably all you need is a good JavaScript book and the After Effects scripting guide. Create a simple project for yourself. Look at the sample scripts to see if there’s something similar that you can use. Ask questions if you get stuck. Keep at it.
If you haven’t done much programming, I’d still get the JavaScript book, but I’d tackle expressions first. Use expressions to learn JavaScript (looping, conditional code, arrays, string manipulation, etc.) After you’ve got your JavaScript chops down you’ll be better equipped to tackle scripts. Again, ask for help if you get stuck.
>Also, it seems to me a person could prepare entire animation before even opening After Effects, then popping up the program and running a script. Is this possible?
Absolutely. AE 6.5 comes with a sample script I wrote called “shapeTimeInsanity”. Just open the application and run the script and see what happens.
Dan