Import several indesign file pdf

Hi all

Try the Script:

Using the built-in script 'PlaceMultipagePDF.jsx' import all the pdf in the folder selected (that is, 111.pdf, 222.pdf, 333.pdf) in the "test.indt".

But my condition:

1. open the file test.indt and import pdf 111.la only after closed with any file name.

2. open the test.indt file and import 222. pdf after closed with any file name.

3. open the test.indt file and pdf 333.le importation after closed with any file name.

Try the Script Code:

myFolder var = Folder.selectDialog ("Select the folder that contains the Indesign files", "");

var myIFiles = myFolder.getFiles ("*.indt")

for (j = 0; j < myIFiles.length; j ++)

{

var myIndesignFile = myIFiles [j]

App.Open (myIndesignFile)

app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;

myFolder var = Folder.selectDialog ("Select the folder containing the PDF files", "");   Please check this line

myFiles = myFolder.getFiles ("*.pdf") var

for (i = 0; i < myFiles.length - 1; i ++)

{

var myPDFFile = myFiles [i]

myDocument = app.documents var [0];

if(myDocument == true) {}

var myPage = myChoosePage (myDocument);

}

else {}

myPage = myDocument.pages.item (0);

}

myPlacePDF (myDocument, myPage, myPDFFile);

}

}

function myChoosePage (myDocument) {}

var myPageNames = new Array;

Get the names of the pages in the document

for (var myCounter = 0; myCounter < myDocument.pages.length; myCounter ++) {}

myPageNames.push (myDocument.pages.item (myCounter) .name);

}

Back to my page;

}

function myPlacePDF (myDocument, myPage, myPDFFile) {}

var myPDFPage;

app.pdfPlacePreferences.pdfCrop = PDFCrop.cropMedia;

var myCounter = 1;

var myBreak = false;

while(myBreak == false) {}

If (myCounter > 1) {}

my page = myDocument.pages.add (LocationOptions.after, myPage);

}

app.pdfPlacePreferences.pageNumber = myCounter;

myPDFPage = myPage.place (File (myPDFFile), [0,0]) [0];         check this line

if(MyCounter == 1) {}

New var features = myPDFPage.pdfAttributes.pageNumber;

}

else {}

if(myPDFPage.pdfAttributes.PageNumber == myFirstPage) {}

myPage.remove ();

myBreak = true;

}

}

myCounter = myCounter + 1;

}

}

Can someone give a solution to my question.

Thank you

BEGINNER

Hello

Try the code b/m

myFolder var = Folder.selectDialog ("Select the folder that contains the Indesign files", "");

var myIFiles = myFolder.getFiles ("*.indt")

for (j = 0; j

{

var myIndesignFile = myIFiles [j];

app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;

myFolder var = Folder.selectDialog ("Select the folder containing the PDF files", "");   Please check this line

myFiles = myFolder.getFiles ("*.pdf") var

for (i = 0; i<= myfiles.length-1;="">

{

App.Open (myIndesignFile);

var myPDFFile = myFiles [i];

myDocument = app.documents var [0];

if(myDocument == true) {}

var myPage = myChoosePage (myDocument);

}

else {}

myPage = myDocument.pages.item (0);

}

myPlacePDF (myDocument, myPage, myPDFFile);

if(App.activeDocument.Modified == true) {}

app.activeDocument.save (new File (String(myFiles[i]).replace('.pdf','') + ".indd"));

app.activeDocument.save ();

app.activeDocument.close)

}

}

}

--

Thank you

Bala...

Tags: InDesign

Similar Questions

  • Preserve spot colors when you import the InDesign file into another InDesign file

    Work in InDesign CC.

    I often import InDesign files into other InDesign files and find it very useful for my workflow. Often it is a file that acts like a piece of the library that is used in the other files and I love being able to just change it and automatically update the other files.

    However I just came up with a work that is CMYK + spot and spot colors are not preserved import - they seem to import as CMYK. Can I export a PDF file and do it this way, but I prefer to skip the intermediate step.

    Any advice?

    Have you checked? It really looks like that process tasks is enabled in the file of reception, but I expect that to affect the PDF as well.

    I tested on CS6 and it works correctly, but I have on thei smachine CC, and no time this morning to start it, then maybe someone else will test for you to see if they get the same results.

  • Best line drawing import in InDesign file format

    I was wondering what is the file format accepted and recommended for the files to import into InDesign. I was under the impression that the files I should be saved in EPS, but I just read an article that said that Adobe Dov Isaacs said that the eps will soon be obsolete. What I would do. I work on the curriculum that contains photos and line art and we use for the old tiff and eps for the latter. Most of our line is done in artificial intelligence. Howeverwe have a cartoonist who sends us files in jpg format. What would be the best format to file for him and for us as we draw in artificial intelligence?

    Article link: http://www.prepressure.com/library/file-formats/EPS

    The future of the EPS file format

    EPS quickly became an obsolete file format which is replaced by PDF as PostScript itself is also removed gradually and by PDF. Don't take just my word on that. Dov Isaacs of Adobe said in a discussion on a forum of PrintPlanet on the future of PostScript: ' ... '. Adobe will continue to support the EPS graphic format inherited for import of managed, opaque colors graphic data in applications (such as InDesign and Illustrator) Adobe.  Although some of us recommend that new graphic content be stored in format EPS (except to satisfy the need to import data in the programs layout that are not quite focused on PDF - no need to name names here!), our user base should feel comfortable that there is no need to worry about a need to convert their very important EPS graphic asset libraries. »

    OK, you used my name...

    First of all, I have never said "that EPS will soon be obsolete." I did not use those words explicitly or even implicitly. The legacy implies that this is really not the current workflow favorite, plain and simple.

    Regarding the cartoons, the format used to send the cartoon really depends on how the cartoons are drawn. If the cartoon is physically drawn on paper the pen and hand coloring, then it's probably logical to scan these drawings and save as TIFF, JPEG files scans not! JPEG is frozen and especially poor for what looks like actually to the linework. If the cartoons are drawn in a program such as Adobe Illustrator vector, then the best format to send to you is clear, either PDF or at worst, native Adobe Illustrator (.) Files HAVE).

    -Dov

  • Import multiple audio files

    Hi there, CP8, version 8.0.0.145, I was able to drag and drop files from a window of the system that this feature does not work on 8.0.1.242.

    Here we have some files that you have something like 230 slides (heading demonstration system) before the update I have never try to import several audio files and import them in the slides, is it possible, or we're going to still hit F6 to each slide?

    So what left for me is to create a feature request.

  • Can you trace how Indesign files to a specifik image link?

    I have an image database, a link about several Indesign files.

    I'm not the original author of the Indesign, neither the image database files, so I have no overview of the Indesign files links how to each image.

    And now, I have an image I want to make a change - but I'm afraid to do it, when I do not know in which Indesign files, the image is used.

    So my question is - is there a way to track the links established on a specific image in any Adobe program?

    Maybe the flow might do the trick for you...?

    http://InDesignSecrets.com/let-the-good-times-flow.php

    PS. I him have not used it myself, so I really can´t say if it solves your problem...

  • Import several graphic size page files

    Greetings, all.

    I have 96 tiff files (created in Adobe Illustrator) I want to import into InDesign. The document is a graphic novel, and tiff files are pages. The goal is to make a PDF for reviewers.

    So my questions are:

    • What is the best way to get the 96 files in InDesign? One at a time? Is there a faster way?

    • Would it not better just to use Acrobat to create the pdf file?

    • Wouldn't be better to use the native Illustrator files rather than the exported TIFF? (The Publisher requires the TIFF as their deliverables). Again, this first step is to create a PDF for reviewers.

    Any help would be appreciated.

    • What is the best way to get the 96 files in InDesign? One at a time? Is there a faster way?

    In general, your questions, all boil down to what I would call 'workflow design' and the fastest way is not always the best. My understanding is that put you up your dialogue balloons, make your registration and a) first export PDF for review, b) then implement the changes of the examiner and then c) be responsible for the final output of flattened TIFF. Is this correct?

    One way would be to first ensure that your 96 pages of art are all mentioned in the order (maybe with numbers at the beginning of the file name) and then drop them-> up all at once. You will still need to scroll and click once for each of the 96 files, but you'd have to the file-> place 96 times. However, if your 96 pages could be combined into a single PDF (not hard if you have Acrobat Pro installed) then you could combine everything in a PDF file quite easily and use a script like the MultiPageImporter to place the PDF at the same time. That would be the fastest way, preventing another script which will put all the TIFFs 96 at once. On the other hand, if you are responsible for the latest release of the final TIFF, then combining in Acrobat could encourage other problems that don't appear until later - for example, if these TIFFs are part of a color management workflow. (I'm guessing, here. I don't know.)

    It's just a piece of your workflow. All of this must be considered carefully if you want that your final product to appeal to all those involved. If I did not like about the color, here is what I would do:

    (1) use Acrobat to combine all the TIFFs

    (2) place that PDF link with the above script

    (3) the work my speech bubble

    (4) to export a PDF file to my reviewers

    (5) for the reviewer changes

    (6) when the file is finalized - export a fresh PDF

    (7) use Acrobat to save the entire under PDF... you guessed it, TIFF.

    However, I mislike using Acrobat in this way. You were asked quick, however. I have no way of knowing how this workflow would mess with other parts of the workflow of the editor. The only way to build the workflow that could work for everyone would understand what the requirements of the Publisher are, and how to make sure the original art makes the process completely unchanged.

    There may be a script there to place several TIFFs that I don't know. I know a handful of Javascript, but it is obvious that the importer of several PDF page to which I've linked is pretty well focused on PDF and not easy to adapt. However, I have no doubt that a multi-TIFF-importer script would be much easier, and if you use this workflow again and then writing or commissioning of a script (or just hard asking a favor script) would probably be in your best interest.

  • image quality emf export indesign file to PDF

    In my business, I prepare pdf reports. PDF files include graphics generated in excel.


    the process I use is:

    make charts in excel-> export graphics to the emf format in the specific folder (as emf is done with macro vba to export)-> link EMF to indesign-> export indesign as pdf (print)

    I am trying to implement a type of graph that includes transparency (in the specific case, a histogram with transparent colors, highlight a specific area of the graph).

    EMF are exported "correctly", as can be seen in the fixed samples

    the problem arises in indesign, when I export the indesign file to PDF (see final results):

    -J' I used to use compatibility Acrobat 4 (PDF 1.3), which - for what I understand - does not recognize transparency and causes the diagrams to export with transparency to 100%

    -If I use greater compatibility (Acrobat 5 or higher), transparency is exported correctly but all the tables and "fuzzy" exported graphics (or maybe a little too intense). The effect is not considered at higher zooms - but it is important to me as graphics look OK at all zooms because report is sent to customers with initial view as full page.

    using another format that emf is not a viable option. What can be a solution in this situation? I would like to understand what is the type of adjustment of export should I use to get a clean exit.

    in case the problem is known, I would like if you can please redirect me to correct the discussion.

    Thank you.

    You can post screenshots or link to files in a dropbox folder. That said, you are using an inherently low high-end, imprecise graphical format and is awaiting the results of high-end. There are tradeoffs here.

    The best advice I can give you without you actually hire me to go through your workflow, is to stick with solid colors and make sure your transparency blend space in InDesign are defined in RGB if these documents will be viewed on screen only.

  • How can I import a multipage (300pgs) PDF in InDesign CC

    How can I import a multipage (300pgs) PDF in InDesign CC. I prefer not to do it using the importer to file page by page. A valid script that will work with CC 2015 would be ideal

    Hello

    There is a script included with Indesign called PlaceMultipagePDF.jsx. That should do the job for you.

    Kind regards

    Malcolm

  • Several Versions of the text in an InDesign file

    I have a large InDesign file and multiple copies on my computer, with only a small portion of different text on each copy.  Is there a way to easily different versions of the text in an InDesign file for the release of several PDF?

    Use conditional text. Window > Type & Tables > conditional text.

  • Importing InDesign file with form in the new InDesign document fields

    I'm working on a multipage file. Then, I create a few versions where the majority of the pages are the pages of some, but some have slight differences. It fits my workflow to be able to import the same pages of new documents, so that I can just update the master file if changes are made.

    (Before I mixed just pages in Acrobat, but it now works better for this particular file)

    One of the pages is an interactive form, but interactivity seems to be lost when I place this page in a new InDesign file.

    Any ideas?

    Thank you

    Ruth

    PS InDesign CC

    You cannot place an interactive PDF in an InDesign file and retain the

    interactivity, only work is preserved.

  • Best types of files, size etc. of import in InDesign, etc.

    Hello

    Given that my computer is to thrust then with files that are too big (old files that I created when I wasn't aware of the best ways to reduce the size of the file, etc..) I have a few questions.

    • A lot of my files is. EPS, but in this case, I have the original in file. PSD or. PDF (both possible to place in InDesign files). What is the best type of file to be placed in InDesign, because having the same design and in. PSD and in. EPS seems a little stupid to me?
    • What are the best options to place images and files in an InDesign file without creating a huge PDF file afterwards?
    • What are the best options to place files and images in a Photoshop file without making it huge?

    Who can advice me some sites or books that can tell me all about this topic? Since I started my own Graphic Design business, it is a very important subject to me because the file size optimization is something that I still have a lot of problems with!

    Thank you guys!

    to start:- http://indesignsecrets.com/tiff-vs-psd-vs-eps-vs-pdf-vs.php

  • Import of files PDF and Photoshop since I use Windows 7 64-bit

    Hello

    I've recently updated (?) to Windows 7 64-bit.  I have notifications when importing photoshop files and PDF in the InDesign document, the resolution of the graphics are disabled and that the lines are restless.  Even the fonts are unreadable.  That's happened?  Is there some settings that I need to in and tweek everything back into alignment and the update?  (If those are the correct words).  When I view PDF files in windows, they are normal.  It is only when imported into InDesign that they are deformed.

    Thanks for any help.

    Clark

    View > display performance > high quality display

  • SCRIPT TO IMPORT SEVERAL IMAGES PLACES... AND MULTIPLE IMAGES IN SINGLE OUTPUT PDF.

    Anyone got a script to import several images placed in CS4? or is it possible in CS5?

    and we can out of the multiple layers in a single PDF in illustrator?  Or several layers in single format JPEG from illustrator with a single command instead to save individually on each page... would be a huge timesaver for me.

    Currently I pulled out each layer individually filled then right-click on these JPEG output files in the output folder and choose "combine taken supported files in acrobat... "to create a unique acrobat...

    I also that to be able to CTRL click multiple layers and go save as... only these layers be saved on...

    And so add something in the Save to output PDF save the Layers dialog box to multiple pages would be a useful time saver...

    In CS 4 and CS 5, you can drag and drop FRO m the finder or bridge, and I suppose that any other viewer of similar type, multiple number of image files to a document. You can configure the bridge so that you can see the bridge and your document at the same time for this purpose.

    If you drag and drop files are linked, if you drag while holding down the SHIFT key, then the files will be incorporated.

    ID and PS CS 5 have a minijonction who works the way sam but is actually a Panel and will stay at the front.

    I have separate images but they import on the other.

  • Lo-res images appear in the exported PDF from Indesign files - anyone else having this problem?

    I used Indesign for years without this problem...

    But I noticed recently that many of these images (PSD, TIFF, or JPEG) that I placed in Indesign files are exported as pixelated, versions low resolution when I export for printing (PDF/X-1).

    I tried different settings, but in each case, the image (which appears thin and sharp as seen in Indesign) came out like a pixelated mess blurred.

    This seems to have started happening in the past months.

    Vector graphics are fine.

    Anyone else having this problem?

    Or someone at - it a solution?

    Also use some PDF parameters where resolution is not sous-echantillonnees at all.

    Turn off downsampling.

    And I would like to test, when you export to PDF/X-4 would make to the resolution of the images.

    Just to know, if something is fundamentally wrong with your PDF export feature perhaps.

    Uwe

  • Issue export book file InDesign to PDF, is there too much InDesign documents?

    I work in a book file for a catalogue consisting of individual records. Each sheet is its own InDesign file because we use them separately, but at the same time have the version more up-to-date in the book. So this was our "simple" solution InDesign won't allow me to export the file of the book in PDF format, unless I have break in two PDF files so I can merge the file in Acrobat. It works fine, but I want to fix the original problem. I checked if all the files have been corrupted, but did not find a problem, then I wonder if there are too many InDesign file in the book. Is there a limit to how many files InDesign you can place in a book?

    It will be more addressable RAM problem...

Maybe you are looking for

  • iOS 10 no locked out the flashlight and timer on screen

    In the previous version, I could pull up to the bottom of the screen locked and the timer and the flashlight were some of my options, as well as the brightness and change setting, if you're going on a plane.  I don't see how more intuitively.  The gr

  • not ask web pages uddenly that appears when you click on a link to

    I'm on a Web page that I want and I click on a relevant link for more information about this page. The link opens correctly but so is another page that I did not and has no connection or interest to what I do. Then I have to cancel the unwanted page

  • Process vs asynchronous sequence in parallel model

    I've been studying the TestStand features and learn how to use it for about a month, so still very new for the environment (although I have been using Labview and Veristand quite strongly for about a year).  I wanted to get some clarification on the

  • Basic visa write and read the example

    I use basic visa read and write example to control my temperature controller in fact it works perfectly, but I want something else. First of all, I like to read the value of continuous temperature and it can be read on the read string section but I w

  • activation key is blocked, setup.dll signature does not validate

    e:XX86\pRO PUSR. WW/O SETUP. DLL DIGITAL SIGNATURE DOES NOT VALIDATE OR IS NOT PRESENT