The 2nd edition of my book about InDesign scripting is available now. Sorry it's in german, but the example scripts on GitHub might be of interest.
"InDesign automatisieren - Keine Angst vor Skripting, GREP & Co." .
The website for the book with all info: http://www.indesignjs.de/auflage2/
I'm pleased to announce many enhancements and new content: http://www.indesignjs.de/auflage2/was-ist-neu/
Please, do find a publisher that will translate it!