InDesign server adaptation of script
Hi,
I'm working on several scripts to create an index based on all documents in a InDesign book.
So far my script works well:
- It creats and saves a new indesign document (index.indd) based on an exisiting template.
- It opens the Book file and add the document at the end of the book.
- It generates an Index based on all documents in the book.
I had a hard time figuring out how to place the index within the margins of the first page in the index document. When I used index.generate it ended up in a text frame with the geometricBounds [0,0]
Then I found out about the generate properties and used placePoint as "undefined". That created a text frame at the page top but within the left margin!
I decided to define the top margin:
My regards
