Information for beginners
Here is some useful information for those who want to learn scripting.
ScriptUI for dummies by Peter Kahrel.
Automating Adobe InDesign CS4 with ExtendScript by Shirley W. Hopkins
Whether you want to use scripts, modify scripts, or learn how to write scripts of your own, this book is for you.
Check out Scripting chapter in a book called Real World Adobe InDesign CS4 by David Blatner and Olav Martin Kvern.
An Introduction to Scripts in InDesign CS5 by Gavin Selby.
InDesign scripting lessons (Applescript) by macgrunt
Manipulate an Image with Scripting tutorial by Ross Aitken.
Scripting Photoshop tutorial by Trevor Morris.
www.hunlock.com by Patrick Hunlock.