Batch to change the page size of InDesign documents

I have about 300 documents in InDesign (2014 cc, Mavericks) a page of various page sizes. Each page is wider than 4 inches and 4 inches larger than the content of the page. The content is in middle of the page - actually make a margin of 2 inches (but with no margin guides) around the content. What I need to do, is get the page of all documents will have to be a specific page size, 7,125 "x 9.75".

I was able to accomplish this by putting all the docs in a book, make a master page 7,125 "x 9.75" on a doc, synchronize the other docs and then opening each doc and apply the master page. The last piece was a bit a lot of work and I would like to avoid it in the future.

Could write a script that opens some InDesign documents (in or not in a book) and changes the various sizes of page to the necessary size? I've never written scripts before, so no idea if it's possible or how to do it.

I put the following on another forum and got help, but it took that I have control over the creation of the original documentation. And I did not. "Is there a way to globally apply a master page to all pages of all documents in a book?

Any help is greatly appreciated.

Hello

What is 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

Concerning

Siraj

Tags: InDesign

Similar Questions

  • Change the page size and text in Firefox 35.0.1

    I had a small red P at the top right of Firefox that changed the page size and the fonts that I lost after a reset: How do I get it back?

    Do you mean this extension?

    You can check the "Old data Firefox" folder on the desktop to see what extensions you previously had.

  • Change the page size - grayed out of boxes

    I'm changing the page size of the pages within a document. Apparently, you're supposed to select the pages in the Pages panel and then change the height and width of the Panel settings. My height and width boxes are grayed out. What have I done wrong?

    Your screenshot shows you the active Selection (the black arrow) tool, not the Page tool (the third tool from above).

  • Change the page size, unexpected behavior, CC

    Hi, having a problem with the changes after the change of the page. In a nutshell if I get cardboard PMPoint transformation (0,0) before a change of page size, the result is exactly as planned, the origin of the page in the editing table. After I change the page size using kSetPageSetupPrefsCmdBoss and run the transformation even recalibrated value is identical before changing the page size.

    Here's some quick code and output to illustrate. PageSizing:; DoYourThing() called and made the intial processing, prints the output in InspectTransformation(), then call ChangePageSize() and remembers InspectTransformation().

    Sub PageSizing: DoYourThing()

    {

    IDocument* theFrontDoc = Utils<ILayoutUIUtils> ()->GetFrontDocument();

    if (theFrontDoc is nil) { cost < < "Need a doc." } < < endl; return; }

    fDoc = theFrontDoc;

    GetPageSpreadRefs()1); Download the UIDRef from the 1st page and spread

    if (fPageRef == UIDRef:gNull) { cost < < "Invalid Page" UIDRef. < < endl;} return; }

    if (fSpreadRef == UIDRef:gNull) { cost < < "Invalid spread UIDRef." } < < endl; return; }

    cost < < "before changing the size of the Page." << ENDL ;

    InspectTranforms();

    bool16 sizeChangeResult = ChangePageSize();

    if (sizeChangeResult) {

    cost < < "after changing the size of the Page." << ENDL ;

    InspectTranforms();

    }

    }

    Sub PageSizing: InspectTranforms()

    {

    do {

    PMPoint leftTopPage (0, 0); / / Page coords

    InterfacePtr<IGeometry> pageGeo (fPageRef UseDefaultIID(());

    PMMatrix page2Pb =:pageGeo InnerToPasteboardMatrix();

    PMRect pageBoundsInPasteboard = pageGeo->GetStrokeBoundingBox(page2Pb);

    PMPoint pageOriginInPasteboard is pageBoundsInPasteboard. LeftTop ();

    Helper:PrintPoint(pageOriginInPasteboard, 'Origin of the dough pension Page.');

    InterfacePtr<ITransform> pageTransform (fPageRef UseDefaultIID(());

    PMPoint leftTopInPasteboard = leftTopPage;

            :: TransformInnerPointToPasteboard() pageTransform, & leftTopInPasteboard);

    Helper:PrintPoint(leftTopInPasteboard, "transformed the point (0,0) in cardboard coords.") );

    } while (kFalse);

    }

    bool16 PageSizing: ChangePageSize()

    {

    bool16 retval = kFalse;

    do {

    InterfacePtr<IPageSetupPrefs> docPrefs (fDoc->GetDocWorkSpace(), UseDefaultIID());

    if (docPrefs is nil) { cost < < "Nile IPageSetupPrefs" < < endl;} Break; }

    InterfacePtr<ICommand> pageSizeCmd (CmdUtils:kSetPageSetupPrefsCmdBossCreateCommand());

    if (pageSizeCmd is nil) { cost < < 'No command' < < endl;} Break; }

    InterfacePtr<IDocSetupCmdData> cmdData (pageSizeCmd IID_IDOCSETUPCMDDATA);

    if (cmdData is nil) { cost < < 'Data command nothingness' < < endl;} Break; }

    PMPageSize currPgSz = docPrefs->GetPageSizePref(); / / 612, 792

    PMPageSize newPgSz (currPgSz. OutputWidth() + 50, currPgSz. OutputHeight () + 50);

    DocPageBinding link = Utils<ILayoutUtils> ()->GetDocumentPageBinding(:GetUIDRef(fDoc));

    cmdData->SetDocSetupCmdData(:GetUIDRef(fDoc),)

    newPgSz,

    docPrefs->GetNumPagesPref(en)

    docPrefs->GetPagesPerSpreadPref(en)

    docPrefs->GetWideOrientationPref(en)

    Liaison);

    Error code ec = pageSizeCmd ProcessCommand() CmdUtils:);

    retval = (ec == kSuccess);

    if (! retval) { cost < < "Resize the page command failed." } < < endl;}

    } while (kFalse);

    Return retval;

    }

    The output

    consoleOutput.png

    As you can see the origin of the page is different after the order of page size, but the transformation returns the same value of 0.0.

    Am I missing something about transformations or the order of page size?

    Thanks for any help. Mike

    Hello Mike,.

    you was not assuming that the upper left corner of a page in coordinates (0, 0) pasteborad. That is right. But you assuming that the upper left corner of a page in internal coordinates is (0, 0). And it is wrong. The origin of the page in internal coordinates is (0, 0) after resizing.

    Markus

  • How can I change the page size of a pdf document so that I can check on my iphone more clearly?

    How can I change the page size of a pdf document so that I can check on my iphone more clearly?

    This is way beyond what can be done with PDF, except by copying the text and make a new document in Word or something.

    That said, Adobe Reader on Windows may display the text AS IF the PDF file has been divided. It's the text reformatting. It may be possible in Reader for iPhone, you can try the player for ios forum.

  • Change the page size in a smaller format

    Hello

    We have some problems resizing of a PDF document to a smaller size of the page (e.g. A4).

    It seems that Adobe Acrobat Pro DC creates a PDF document with a page size that is larger than an A4 document in width.

    We have already tried the following things:

    • We printed out the PDF file to an A4 document with the Adobe PDF printer, but this causes all our form elements to disappear. 90% of all form elements are not available in the printed PDF file.
    • We tried to set the page size by using options like Te 'organise pages' = > 'set page boxes' = > "Change Page size". However, when we try to set the size of the page on the exact dimensions of an A4 document, we obtain the well known error "Page Size cannot be reduced".

    Finally, we used a trial version of MapSoft plugin for changed the size of the page of A4 document.

    It works, but in our view, this should be possible in Adobe without use of external plugins. If we have missed some sort of option in Adobe Acrobat Reader Pro DC?

    Thank you.

    P.S.: If the document does not have the exact size of A4 page, a part of the text does not fit into predefined on our template document boxes. In addition, the printed document alike on different printers if the A4 page size is not used.

    ontwikkelingd76021313 wrote:

    ...

    • We printed out the PDF file to an A4 document with the Adobe PDF printer, but this causes all our form elements to disappear. 90% of all form elements are not available in the printed PDF file.

    ...

    Print on the 'Adobe PDF' format will remove all form fields, links...

    The tool controls upstream allows you to change the size of the page.

  • Starting with HP Officejet 6600 and cannot change the page size

    Hello

    You have just purchased HP Officejet 6600 all-in-in-one and found that there not a duplexer, which is very very annoying! However, if I can just change the paper size, I can live with the disadvantage to the paper.  I have a Word document that is the flyer for our company, a document A4 which must be printed on A5 paper.  Old Canon printer I could make the A4 as an A5, but now I can't.

    Hope I explained the correct problem and the TIA for help.

    In my copy of Word 2007, I am able to evolve in A5 paper.

    Be sure to select A5 in 6600 preferences.

  • How to change the font size to print documents?

    Original title:

    Printer prints very small fonts
    How can I change this font?
    It was working fine

    Hello

    Generally, we change the font size in the application with which we try to print.

    1. what application you use to print?

    2. what operating system is installed on the computer?

    You can view the following link to learn more about print options:

    Choose printing options

    http://Windows.Microsoft.com/en-us/Windows7/choosing-print-options

    Let us know if it helps!

  • How can I change the font size on a document that has already been signed?

    How can I change the font size for my entry on a document that has already been signed? It seems that Adobe will not allow this. Thank you.

    Hi jonathanh19241035 ,

    I would like to inform when, once the document is signed and then after that it does not to exchange with the font size if it's signatures is the digital signature.

    If its use fill & sign and then using the add-on Acrobat the size of the font of the entry can be change.

    Also, this can be done in Acrobat Pro not in the drive.

    Kind regards

    Christian

  • I want to resize the text in the Apple support pages WITHOUT changing the page size

    I spend a lot of time reading and learning on the Apple discussion forums, but all of a sudden my text size became too small. While I can easily adjust to the size of reading, which unfortunately also increases the size of the page and as a result I have to drag left and right pages to read continuously or click on the symbols... I'm trying Nosquint, but so far have not found the solution.

    There should really be a non-technical way of this operation and thus creating a permanent framework. All of my pages of BBC can be addressed via the parameters of 'content', but it does not affect Apple talk pages.

    There are two types of Zoom in Firefox; Text zoom and zoom on the Page.
    See for zoom text: https://support.mozilla.org/en-US/kb/font-size-and-zoom-increase-size-of-web-pages#w_how-to-only-change-the-size-of-the-text

  • Change the page size and get the error on the booklet. Why? Only in CS6...

    Why when we work with a material to many pages, and all pages have the same measure and change the size of each page (in file-> Document format), we can generate more booklets? I tested version CS5 and it worked perfectly in the version CS6 gives the error:

    "The active document uses multiple pages sizes. Booklet printing only works with documents that use consistent page size. »

    I checked all the pages and all have identical dimensions between them.

    Take a test.

    Open a new file with multiple pages. Try to create a booklet. Will work correctly. After that, go to file-> size and change the size of the pages page. Now try to create a booklet. Will give an error.

    I tested in a couple of Mac...

    Peter is right, that this problem is not being solved in the hotfix released today.

    I already signed in to the same bug and sent to engineering for a fix, waiting for a response from the well side!

    There is workaround as copy and paste the contents to a new file, but not a fix solution as if now.

  • Change the page size to match an object

    Hello. If I bring in an object (such as a photo), is there a simple way to have the page dimensions correspond to the object?

    Currently I copy the dimensions of the photo, select the page tool, select the page and manually enter new dimensions.

    Thank you!

    There is no command in InDesign CS5/5.5 to have the dimensions of the page corresponds to an object. Of course, someone could probably develop a script...

  • How can I change the page size of an existing PDF?

    I have Adobe Acrobat XI Pro on my Mac under 10.6.

    How to resize an existing .pdf document which is 20 "x 40" up to 4 "x 8"?

    Thank you!

    Bob

    Print to a PDF file with this page size...

  • change the page size second in 3 pages

    Hello

    I wonder, how do I change my second page 3 page double with ExtendScript size?

    (I'm trying to generate coverage with the spine)

    app.activeWindow.activeSpread.pages [1] .resize (CoordinateSpaces.innerCoordinates, AnchorPoint.centerAnchor, ResizeMethods.ADDING_CURRENT_DIMENSIONS_TO, [-1000, 0])

  • How can I change the overall size of a document, including the content?

    I created a document for the web in 1024 x 768. I would like to reduce the size of the document without having to resize everything manually. Is there an easy way to do this?

    See my previous post: check 'Show Import Options' in the box of the Place. Then you will have another dialog similar to this box:

    Here you can specify page range, crop options, visibility of the layers.

    However, if your document contains too many pages to manage manually (as it is on my screen), you should consider another option of investment - this beautiful script Zanelli:

    NDD - files.php http://indesignsecrets.com/Zanelli-releases-multipageimporter-for-importing-both-PDF-and-i

Maybe you are looking for

  • Error CoreTelephony

    On my iMac (late 2015) El Captain 10.11.6 this morning I started getting this error on the log in "a tracking file for CoreTelephony operation failed, perhaps you miss disk space. Details "error opening the file/tmp/ct.shutdown, err = operation not p

  • Keyboard shortcuts for the screen saver does not

    When upgrading to Mac OS Sierra, the hotkey to put the screen in sleep mode (control - shift - (power or Media Eject button )) has stopped working. As I use this command several times a day and don't know not of any other way to put the screen in sle

  • type only the characters not letters

    To reinstall OS X after that computer had to be completely erased.  Now trying to do, only the characters type and no letter. Help please.

  • HP DV7 7240us Envy

    Does anyone know if you can install Windows 7 on this computer Windows 8.  So far I have not had success.  Any help will be much appreciated.

  • Windows Installer keeps failing on my XP machine? Any suggestions on how to solve this problem.

    Windows service install fails when I try to update installed products.  How can I get this to work properly?