Place multiple paged PDF into existing image frames

This AppleScript automates the process of placing a multiple paged PDF into some pre existing image frames. It can also be used to drop a folder of files into selected image frames. If there are more pages in the PDF (or images in the folder) than there are selected image frames, you have the option to let the script duplicate the current Indesign page until all the PDF pages or images have been placed.

For example, say you have selected the grid of frames below. The script will populate each of the frames with pages of a chosen PDF or images from a chosen folder. If you choose a folder of images, the script will also place any PDFs that it finds in that folder.

The script will start placing images from the top left frame and continues row-by-row down to the bottom right frame. Anything that is not an image frame gets ignored as you can see with the two heading text frames that were also selected. Any selected grouped items will also be ignored.


Check out this video demonstration to see it in action.

Features

  • Choose to place all pages of a single PDF or all images from a folder into the selected image frames
  • Optionally continue placing more images (or PDF pages) by duplicating the Indesign page with the selected frames
  • Frame fitting and scaling options – control how the images are sized within in each frame (apply a percentage or fit to the frame)


Click on the image above to see the updated dialog box in a new tab.

If you choose to place a multi paged PDF into only the selected pages (not duplicate), the script will ask you to select a starting page of the PDF.

Then if you try placing the same PDF again, perhaps into some image frames on the next page of the Indesign document, it will remember the page where it finished last time and can continue from the next page.

This is an AppleScript for use on the Apple Mac. It requires the Yosemite operating system or later. Use the script on documents set up as single pages only (not spreads). The ability for it to work on spreads is coming soon.

Download for $9.99

14 Comments

  1. Will this script work on InDesign CS5 (v.7) on a Mac?
    thanks

    Reply
    • drscriptoMay 21, 2017 at 3:33 pm

      Hi Carlos,
      Yes, this script should work with all versions of Indesign and since it is an AppleScript, it will only work on the Mac. If you have any problems just let me know.
      David

      Reply
  2. Hi David,
    I’m interested in using this script as it looks like it will definitely solve my problem that I have of placing multiple pages from pdf file into already placed frames, and then duplicating the page layout until all of the pdf has been inserted. However I would need the script to work on a windows computer, would you be able to convert this script into JavaScript and provide as a download also?

    Reply
    • Hi Sophie, I’m learning JavaScript as quick as I can but can’t give you any indication of when I’ll be able to convert this script. Not for a while yet.

      Reply
  3. Hi David,
    This is fantastic, however when importing pdfs the fitting is set to ‘Fit Frame Proportionally’. Is there a possibility I could also purchase a version which is set to ‘Fit Content Proportionally?’

    My imports are being clipped when placed in the frames.

    Please let me know your cost if so and many thanks

    Reply
    • Hi Lucas,
      thanks for the suggestion. I have implemented this in an update to the script. It now offers a choice of frame fitting options.
      David

      Reply
  4. Is there a windows version?

    Reply
  5. Hi. Can this place pages from an .indd source instead of a PDF? Thanks!

    Reply
  6. hi
    is your script working with last indesign version?
    Can we resize per per cent the image ?
    Thnak’s

    Reply
    • drscriptoMay 14, 2018 at 4:21 pm

      Hi Zohar, the script works on all versions of Indesign but the version of the OSX needs to be Yosemite or later. I have just added the option to resize images based on percentage – either from the top left hand side or centring the image. This is as well as the 3 other options (fit to frame, fill frame in proportion or stretch to fill frame).

      Reply

Your email address will not be published.