I have found a link to a book that has a lot of information about Javascrips for Indesign and the guide has a link to sample scripts that specifically relate to the guide. Given that it is for CS6 and pretty old, the link to the sample scripts isn't working anymore – It just takes you to the generic Indesign landing page.
Does anyone know where I might be able to get the sample scripts from? Or is there a more up to date version of this guide?
The Indesign CS6 Guide I am looking at is linked here: