Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

Indesign Scripting Object Model

$
0
0

Hi,

 

Is there some reference documentation that provides detailed information on the Indesign object model as exposed to the scripting interface (javascript)?

 

I have done fair amount of scripting in Illustrator so I was looking for the Indesign equivalent of this document

http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/pdf/illustrator/scrip ting/illustrator_scripting_reference_javascript_cs5.pdf

 

I looked at this document but it seems kind of sparse (compared to illustrator)

http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/indesign/pdfs/InDes ignCS5_ScriptingGuide_JS.pdf

 

Obviously they are different applications but I was kind of hoping there would be more info for Indesign scripting.

 

In particular I am looking for some insight on how to effectively walk or traverse the document structure of an indesign document using code.

 

Finding specific things by type seems out of the picture becuase after doing object reflection on all the page items in an indesign document nothing seems to have a "type" property.

 

In my illustrator scripts I was able to place stuff in illustrator layers, give arbitrary pageitems a name and then later go find and manipulate via script. Not as clear how to do this in an indesign context.

 

The one advantage of this was that in illustrator I was able to use textframes to hold variable data and read later via scripts. The document becomes the database. And I could create any number of arbitrary "variables" inside the document outside the white board. WOndering how to do this kind of stuff with indesign so I can do template driven documents that are managed by scriptings and form UI that I create.


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>