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.


  • 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.

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).

Download for $14.99


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

    • 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.

  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?

    • 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.

  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

    • 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.

  4. Is there a windows version?

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

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

    • Hi Zohar. Yes, it should work with all versions of Indesign but your operating system needs to be Yosemite or later. An older version of the script can place images and PDFs at a given percentage. Let me know if you would like this version.

  7. If the PDF has crops and bleeds will it import the whole artwork or will it crop it?

  8. Hi there, I just downloaded your script but can’t seem to get it to work in InDesign. It’s appearing as a .scpt file, not a .jsx, and won’t run when I put it in the Scripts folder. Any thoughts?

  9. I am about to purchase it but does it work on spreads now since its 2020 🙂

    • Hi Joris, due to the fact that the script relies on the “paste in place” feature, it will require a rewrite to overcome the spreads limitation.

  10. Will this work on a MAC using Adobe 2021 / 16.1


Your email address will not be published.