How to batch resize 500 indesign documents with dimensions extracted from excel file, or from two text boxes inside the document with width and height dimensions. Every file has different size.
Hi, my name is Miguel Alvarez,
I work creating design exhibitions and I would like to modify the size of 500 indesign documents for an upcoming exhibition. In past projects we created each one individually and resized to size individually, but I would like to change the process to automate the creation as much as possible. So far I was able to create the 500 documents with the same size and rename them automatically and I was going to change the size manually, but before I do this I would like to see if anybody could point to a better way.
I would like to know if anybody knows a way to create a script where you could open the 500 individual indesign files that are together in the same folder, each indesign file has a unique name, like GR_Zone1_2.1.59.indd
Each indesign file currently is set at 500mm w x 500mm height and inside there is a single page with three text boxes with individual paragraph styles and content:
- One text box with an applied paragraph style of “StyleName”, has the individual name of each file, ie. GR_Zone1_2.1.59.indd, in one document or GR_Zone1_2.2.01.indd in another,
- A second text box, with the paragraph style of “StyleWidth” has the width in mm. Ie. 1550mm W in one document, but other document could be 1250mm Wide.
- A third text box with the paragraph style of “StyleHeight“ has the height in mm. ie. 700mm, in one document, and a different document could be 900mm wide.
I also have an excel spreadsheet with the name, width and height info, if it is any easier from a spreadsheet so I could create the documents and change the size at the same time.
I don’t know much about scripts, I can install javascript in the indesign scripts folder and execute them using a user panel, but I don’t know how to execute code inside indesign, I would not know even where to place it, so if you could offer step by step instructions would be great. :-)
Thank you very much for your help.
Kind regards
Miguel Alvarez
