Indesign script to resize all image frames in a document
Hello all,
I have a document of around 800 pages that is been made by importing PDF pages.
Unfortunately, the document has been set up in the wrong format (A4 instead of Letter size), so I have changed the document dimensions using Adjust Layout and the used this script to fit the content of the image into the newly adjusted frame:
app.activeDocument.rectangles.everyItem().fit(FitOptions.CONTENT_TO_FRAME);
The problem I am experiecing is that each PDF has a border aroud it which I would like to cut, so I would now like to resize the frame of a couple mm to cut the border. Is there a script I can use to achieve that?
Happy to run one script to do all of it (resizing and cutting) or to run two separate ones.
Thank you!