Batch change page size of InDesign documents

I have about 300 one-page InDesign (cc 2014, Mavericks) documents of varying page sizes. Each page is 4 inches wider and 4 inches taller that the content of the page. The content is in the middle of the page—effectively making a 2-inch margin (but with no margin guides) around the content. What I need to do is get the page of all documents to be one specific page size, 7.125” x 9.75”.
I was able to accomplish this by putting all the docs in a book, making a master page 7.125” x 9.75” on one doc, synching the other docs, and then opening each doc and applying the master page. The last bit was a little labor intensive and I would like to avoid it going forward.
Could a script be written that opens selected InDesign docs (in or not in a book) and changes the various page sizes to the one size needed? I’ve never written scripts before so have no idea if it is possible or how to do it.
I put the following on another forum and got help but it required that I have control over the creation of the original docs. And I don’t. “Is there a way to globally apply a master page to all pages of all docs in a book?”
Any help is greatly appreciated.

Hi,
Is this your requirement,
var myFolder = Folder.selectDialog("Select the Folder contains Indesign Files")
var myFiles = myFolder.getFiles("*.indd")
alert("Total Indesign Files: " + myFiles.length)
for(i=0; i<myFiles.length; i++)
    app.open(myFiles[i])
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
    var myDoc = app.activeDocument;
    myDoc.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.inches;
    myDoc.viewPreferences.verticalMeasurementUnits = MeasurementUnits.inches;
    with(myDoc.documentPreferences){
    pageHeight = "7.125";
    pageWidth = "9.75";
app.activeDocument.save();
app.activeDocument.close();
Regards
Siraj

Similar Messages

  • Changing the size of a document in Pages?

    How can you change the size of a document in pages? I need to change a poster size document to 8.5 x 11?

    Nevermind. Found it! Sorry, new to Mac

  • Can you have multiple bleed allowances (along with the multiple page sizes) in InDesign CS5?

    Hi there,
    I'm new to InDesign and have a question about documents with mixed page sizes in CS5.  I'm preparing an illustrated book for print and was hoping to be able to contain all the pages (including the covers) in one document.  My basic setup is 140 mm x 210 mm with a 3 mm bleed on each side.  I've managed to add the different cover page (146 mm x 216 mm) and spine (10 mm) dimensions easily enough, but can you have multiple bleed specifications too?  The bleed allowance I need for the case layout is 15 mm.  I've scoured InDesign and the net, but can't find any information about this anywhere.  It would seem rather silly to be able to have multiple page sizes in your document without being able to change the bleed allowance too.  Here's hoping it's possible!  Any help with this would be greatly appreciated. 
    Thank you!
    Alexandria

    make sure what your printer means ie: Page size + 6mm spine bulk + 15mm bleed.
    and design acordingly
    G..

  • Cannot change page size with acrobat

    I am able to convert my manuscript in Mac word(2011) to adobe acrobat (XI); unfortunately the 6 X 9 " page size does not convert. I spent a few hours on the phone with adobe support and the final resolution was to upload the file to them and they converted it for me. however, they used distiller which reduced the file size and appears to have affected the many images. Does anyone have any advice? The best I have been able to glean online is work with inDesign to change page size.

    Thanks.
    The problem was with the paper size. In addition to change the page size I needed to change the paper size in the print option before selecting save Adobe PDF.
    From Word go to File> Print
    Open the Copies & Pages dropdown
    Select Paper Handling
    Check the Scale to fit paper size box
    Open the Destination Paper Size list
    Select your custom 6x9 Preset
    Click the PDF button
    Select either Save as PDF or Save as Adobe PDF
    The unfortunate thing is that I was able to do this initially, but when I went back to replicate it adobe is creating 2 files one with my cover page and the rest to the manuscript. Luckily my initial copy was good. Thanks again for your help.

  • Change page size

    I need to change the page size of a document. Usually a drawing scanned with format Iso A1 (840x594) to format iso A3 (420x297).
    Is it possible to do this by using Acrobat 7.0 Professional?
    Preferably redused exactly 50%.

    As I understand it, you want to scale the graphic to a different size, not just change the page size. Those are two different aspects of the problem. If a graphic is part of the page, it can be moved, but can not be resized. To get a scalable graphic in the PDF, you have to put it on a button (TOOLS>FORMS>BUTTON) as an image. The button can be scaled. Once you make an object a part of the PDF itself (a form button is not part of the basic document), you can no longer scale it. This is why we all talk about doing editing in your original document and not in the PDF.
    When you say to print to PDF with reduced size settings, I have no idea what you have done. Is this a job.settings file selection or what? I am still not sure what your objective is. It looks like you want to put multiple graphics into one file. I would suggest using a word processor, inserting the graphics to the size you want, then print all of the graphics to a PDF from that application. You selections would then be the choice of job.settings that you use in terms of the resolution that the graphics may be produced in. I think that this is the workflow that you really want, not trying to do things directly in Acrobat.

  • Change page size in Acrobat Pro 6.0

    Hello, I'm wondering if there's a way to change page sizes in Acrobat Pro 6.0 for Windows. We are receiving manuscripts which have been assembled from various documents. They're going to be printed at 8.5 x 11, but sometimes some of the pages are 7 x 10. Is there an automated way to change all the 7 x 10 pages to 8.5 x 11? We don't want to have to do each page individually because there are too many of them.
    Many thanks,
    Coral

    You could try printing to a new PDF with the PDF printer, setting the page size to 8.5 x 11 and setting the page scaling option to 'Fit to Printable Area'.  This will hopefully leave the existing 8.5 x 11 ones about the same size (it may shrink them slightly) and scale the other sizes.

  • Can i change page sizes in pages on ipad2

    I'm using the pages app on an ipad 2 which has limited templates. Can I change the size of a document before I print it as all seem to be A4?

    Pages on iPad offers two paper sizes A4 and US Letter. To change paper size in iOS Pages:
    Tap Tools Menu (wrench) > Document Setup > Tap lower right corner curl > Tap US Letter >  Tap Done
    Good Luck.

  • Introduce left/top margin: Change Page Size ignored

    I have a vector drawing of a technical schematic in PDF.  The drawing is an extract of a much larger schematic, so it is very small: 2.2" by 1.648".  However, when I print it out, it is resized to fill up a Letter size paper (8.5" by 11") and the size is then perfect for viewing.  Also, the PDF has no white space around the edges, so the same PDF is perfect for importing into documentation packages.
    However, for hard copy printing, depending on the exact aspect ratio of the drawing, I will sometimes want to introduce white space along one edge for hole-punching purposes.  I am opening the PDF and printing it from Acrobat 8 Professional.  I cannot use Document->Cropping because I am trying to introduce a margin rather reduce an existing margin.  I tried using the Change Page Size controls in the cropping dialog panel.  Originally, it was set to Fixed Sizes and Page Sizes was set to None.  I selected Custom instead of Fixed Sizes, then I entered in the Width and Height in inches, with the Height being about 0.5" more than the original 1.648" (it's landscape, so the holes will be at the top).  However, the illustrative diagram does not change, and neither do the dimensions shown on it.  I click OK and the PDF as viewed did not change -- no white space.  When I go back into the Change Paper Size dialog, all the size data that I entered is gone and the control have reverted back to Fixed Size with a Page Size of None.  I explored the dropdown list for Page Sizes, and none of them are appropriate for such a small diagram.
    What I'm trying to achieve is a pretty simple effect, and I thought it would be straightforward.  It has to be *very* simple as I expect to do this regularly.  Is there actually a way?  Ideally, it doesn't involve calculating all sorts of bounding boxes and offsets.  Who knows what the assumed reference points for those are.  In fact, the most direct way would be to enter a negative Margin Controls in the Crop Margins region of the dialog.  That is not possible, of course.

    Actually, I found a way.  The reason why the page size was being ignored is because the numbers were too small.  If I enter a big enough number, it sticks.  It would be nice to get a message to that effect though.......sigh.
    I can then adjust the cropping margins to get the gutter.
    Thanks.

  • XI Pro: How to change page size?

    I have a letter-sized document where each page has extremely large margins and text in a tiny font size. Can I use the 'Remove White Margins' function (Crop pages > Set Page Boxes) to remove the large margins and then resize what remains back to 8.5" x11" using the 'Change Page Size' function?
    When I try this, I can do the first step and I'm left with pages about 5.5"x8". But the Change Page Size function does not allow me to resize the page.
    It this possible?

    Hi J Kart,
    Please refer the doc: https://acrobatusers.com/tutorials/how-to-resize-pages-in-a-pdf-file
    Regards,
    Rave

  • HOW TO: Change page size after page is created?

    Is there a way to change the size of a page after the page has been created? In the documentation, the only way I have seen to set the page size is in a "with" statement right after creating the document. I have need to change the size of the document after a document has already been created. Any ideas?

    Yep, that's how I am doing it. I just wanted to make sure that I was doing it correctly. I need to keep debugging then and figure out what the real problem is. I am new to all of this (obviously) and I just needed to make sure I had the idea correct. I didn't mean to use document and page interchangeably, I understand that you can't have different size pages in the same document.
    Thank you for your help.
    [FYI]I created a class that creates a document with most of the document settings that I use (e.g. a standard number of pages, non-facing pages, units in inches, etc.) but I don't specify a page size, that's something that varies between documents, so I figured I could just apply that after I have created the page. The problem is, when I try to create multiple documents it doesn't work. The script will create the first document using the default page size settings and I can't get it to change the page size, but then the next document will be created using the page size I tried to apply from the previous document that the script created. I am sure this is totally a coding error somewhere else. I will try to track it down. Just when I think I have this stuff figured out . . .

  • I also have a .csv file with the name of a jpeg in one column and a text description of each jpeg in a second column. Is there a way to automatically insert one jpeg (photo) and its corresponding text, each pair on one page, into a Indesign document?

    I also have a .csv file with the name of a jpeg in one column and a text description of each jpeg in a second column. Is there a way to automatically insert one jpeg (photo) and its corresponding text, each pair on one page, into a Indesign document?

    I would also recommend to write the description into the meta data. This would allow to place a text frame above the image and it is possible to add meta information and file name automatically together with the image, when you place it or even in a prepared template.
    Meta data information can be written easily in Bridge in the Meta File Workspace.

  • Copying a page from one InDesign document to another

    I have a page in an InDesign document (which contains graphics) that I would like to copy to another InDesign document, but Copy / Past does not work.

    Have both files open...
    In the source file open the pages panel and select the page(s) you want to copy, from the panel menu choose move page(s), and select the destination file and specify a position.

  • How We Can Change Page Size During Report Run Time

    Hello !
    How We Can Change Page Size During Report Run Time .
    How can we stop to change the column name when we amend a sql in report data model.
    Thanks !
    null

    hello sohail
    1. question - i'm afraid this cannot be done ... bit in report 6 and newer you have posibility to divide your report in 3 parts (former header, body, trailor) and each part can have diferent page siz, orientation , ...
    2. question - best is give each column in your statements in one report diferent alias. when you have to chnge something, alias will remain same ...
    try this: select 1 as fist_column, 1 as second_column from dual
    hope this helsp

  • Is it possible to have different page sizes in one document?

    Hello everyone,
    I have never seen different page sizes in one document,but to make sure of this can someone confirm this?
    Thanks,
    Mor

    >Just send it with the free reader plugin.
    "What is this reader thing? How do I install it? Can you resend the file with the reader in the file?"

  • Extract the Page Size from the Document Properties

    I have multiple drawings of various sizes and need to extract the page size from the document properties of each drawing.
    this.info object can be used to extract the title, author, subject etc of a document but there is no property shown for extracting the page size.
    Can any one please advise a way of extracting the page size from the document properties of a file?
    Any assistance will be most appreciated.
    Once the page size can be extracted I will be using a script to place a stamp with onto the drawing depending on the page size.
    Thank you.

    Thank you for your help George.
    I have used the getPageBox script as follows:
    var aRect = this.getPageBox("Crop");
    var width = aRect[2] - aRect[0];
    var height = aRect[1] - aRect[3];
    console.println("Page 1 has a width of " + width + " and a height of " + height);
    The console reports back - Page 1 has a width of 1162 and a height of 814.
    The actual drawing shows in the document properties page size as 40.988 x 28.713 cm.
    Can you please advise why the getPageBox measurement is not reporting correctly?

Maybe you are looking for

  • Ipod Touch Problems

    My Ipod Touch is running with Windows Vista and the latest Itunes. When I try to charge it with the computer USB cord the Itunes keeps coming up and synching the Ipod and then I close the Itunes and turn the Ipod power off with the slide switch on th

  • Trying to use greater than in a case statement

    What is the correct way to write this case statement? Case F.NextOrder2 > F.CutOff Then Else F.NextOrder2 as NextOrder3

  • Create Spool to convert the list in PDF

    Hi Guru's, I try to recover datas from my selection screen for create a list send it by mail. I have a problem when I do my submit 'ksb1' and pass my range as parameter, the error displayed is "Wrong type passing parameters to "KOSTL"" AFter I have t

  • How do I get Photoshop to stop changing the page when I zoom in or out?

    I was wondering how to stop my screen in photoshop to not change the page when I zoom in or out. When I zoom in the page adjust and make the panel smaller. I would like to leave the screen ful size and just the image zoom in and out

  • Java 7 won't install on my mac 10.8.4

    i'm trying to install java 7 on my mac 10.8.4 i downloaded it from their website did the steps and everything but when i test it it says that i have the older verison and some apps wont work so yeah what did i do wrong ?