This content has been marked as final. Show 3 replies
Both topics have been discussed many times. Have a look on the archives by search, then you will find code snippets dealing with xml and exporting to PDF.
I need to use scripting to automatically populate several 2-page InDesign templates, each containing several frames for graphics and several frames for text. Each template has a varying number of frames and the frames are in different locations. I need to name the frames so they can be referenced and populated by name. I gave tags to the frames in hopes that this could serve my purpose. I found a scripting reference but still cannot figure out how to get my graphics/text into the specific frames that I want. I would like to use VBScript if possible. Is there a way to do this?
1) Get the indesign document xml using
This will be exact structure of document structure in the form XML.
2) Now manually or by code you will fill the data in XML.
3) Use myDocument.importXML(File(inputXmlFile));
Whatever it may be graphic or text the data will be merged.
Hope this helps.