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.

Note the script tries to identify the grid and places images or pages from the top left box and continues row-by-row down to the bottom right. It can even cope with the images being a little bit staggered.

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.

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. Then if you try placing the same PDF again, it will remember the page where it finished last time and continue from the next page.

This is an AppleScript and works on the Mac. It requires Yosemite or a later version of OSX.

Download for $4.49


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

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

  2. Hi David,
    I ran into an error when trying to run the script. Can I email you a screen grab of the error dialog box?

  3. Hi David,
    Here’s the text of the Error code:

    AppleScript Error!

    Error Number: -1728
    Error String: Can’t get AppleScript whose version ≥ “2.4”.

    Engine: Default
    File: /Applications/Adobe InDesign CS5/Scripts/Scripts Panel/Indesign Place PDF pages into selected boxes_R12_RO.scpt


Your email address will not be published.