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