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:
I forget what links I followed to get there but I think I have found what I was looking for here:
Hi @roryt91880286 ,
I would also recommend this documentation about ExtendScript:
And of course the DOM documentation for InDesign CS6 compiled by Gregor Fellenz:
( Adobe Community Professional )