Is there a formal/informal language reference for InDesign JS scripting?
Sometimes, Google Search really lets you down. This is one of those times. If I didn't know better, I would believe that Adobe intentionally obfuscates any scripting language references for their apps. But surely someone somewhere has a valid, functioning reference for the language model used by InDesign for js programming.
And before you refer me to the Adobe Developer's page where I can download the Scripting file for InDesign, please know that it doesn't contain a language reference. It is a bunch of help files for various tasks you might want to accomplish. That's fun and all, but literally the files are so unbelievably poorly presented that it locks up Chrome repeatedly. Even with 32Gb RAM, nothing else open, and running without extensions, it still locks up. There is something terribly wrong with the files provided.
But even if there was some way to effectively browse the local files, there is no language reference.
Before you suggest thousands of great example script sites and tutorials, please understand that I have hundreds of tutorials and reference lists from great InDesign programmers, but NONE of them include a simple language reference.
For example, the following site has the JS Language reference.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference
Sure it has examples, but it gives the terms, the properties and methods for the term then an example. I just cannot find this anywhere for InDesign..
The biggest problem that I am having with InDesign JS is that there are a million ways to reference every item in InDesign. Some ways provide usefull methods that aren't available other ways. Without a comprehensive language reference, I am constantly trying to assert methods on objects that don't have that method. All of this could be easily solved with a simple dictionary.
Thanks for any help you can offer. If you need some free example scripts or tutorials, I have a ton of them. This post is not about getting something accomplished that I can copy and paste from a sample script, it's about finding the language reference so I can write my own scripts.
