Copy link to clipboard
Copied
Both Toolkit's Object Model Viewer and the InDesign ExtendScript API give the whole DOM possibles for any one document or the app itself.
BUT, is there a way to see/view/explore only the DOM objects of a particular file/document and nothing else; like viewing a webpage in Chrome's Inspector or Firefoxe's Firebug? As I understand it via experience, those don't give you every possible DOM object, but only what is on that particular page. It doesn't seem like the ExtendScript Toolkit can do this... or anything else for that matter. It seems like scripting in InDesign would be a whole lot easier if seeing only the actual DOM instead of the "possible" DOM were possible...
Hope someone has an insight into this. Thanks
Copy link to clipboard
Copied
Yes and no. The ESTK as a data browser panel that let you inspect at extenscript objects including the document and collections. But as some point you can't see those unless you specifically reference them.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thanks Marc! That seems like a useful tool. I look forward to using it.