My InDesign file, it contains 10 Boxes and 15 Tables. In that, Box and Table styles are applied perfectly. In this file I have picked library item "Box" and flow the "Box text" (ce:text box) into inside. This is the manual work in each and every time. I have created in library items name called' Box and Tables and also the XML structure named as ce:textbox and ce:Table. Please refer my screen shots.
My Question is " How to pick that particular library item (Box or Table) from the library and flowed the Box text (ce:text box) or Table text (ce:table) into inside by script.
Thanks in advance.
I'm not sure what you are asking, but this might help:
var myLib = app.libraries.item(0); var boxAsset = myLib.assets.item("BOX"); var tableAsset = myLib..assets.item("Table"); var placedBox = doc.pages.place(boxAsset); // do something with placedBox var placedTable = doc.pages.place(tableAsset); // do something with placedTable
Sorry for the delayed response.
My question is "How do place the XML text in the Box".