Skip to main content
Participant
Nov 19, 2025 5:51 PM UTC
Question

Help with Mergeing and creating PDFs: looking for an automated script

I have a file that has 2 pages and currently I have a data merge .csv attached to the file that allows me to create individual PDFs for each of the 54 companies. Problem is that I must create each of these one-at-a-time which is incredibly time consuming. I'm curious to know if there's a way to automate the merge to individal PDFs that is accurately named to each company? Is this possible and how do I do that; berring in mind I have no idea how to write a script. or make it run successfully. 
Thanks for any help I can get. 

Kim

6 replies

Mike Witherell
Community Expert
Community Expert
Nov 20, 2025 9:46 PM UTC

Kimberley,

Once you get that working, you might circle back and share with others the name of the script and where they, too, might access it.

Translate
Mike Witherell
Participant
Nov 20, 2025 9:50 PM UTC

For sure! I'll do a little write up to show context and a "how to" once I figure it out.

Translate
Mike Witherell
Community Expert
Community Expert
Nov 20, 2025 5:23 PM UTC

Hi Kim,

Did you know that you can open a PDF in Acrobat Pro and exporting each page as a separate PDF?

Also, in the InDesign > Export to PDF dialog box, did you know you can export to individual pages when you choose  Create Separate PDF Files ?  

Translate
Mike Witherell
Participant
Nov 20, 2025 8:59 PM UTC

Thank you for your quick response, Mike.

Yes, I did know that, but I have a two-page document that uses a .csv file for a data merge and I was looking to be able to export both pages as an indivdual file with each company's name as the filename rather than trying to do that all manually. Just looking to shorten the process.

Translate
Anantha Prabu G
Legend
Nov 20, 2025 2:51 AM UTC

Yes —  you don’t need to create them one by one. InDesign does not offer this natively, but a simple script can do it for you.

 
Translate
Design smarter, faster, and bolder with InDesign scripting.
Participant
Nov 20, 2025 4:20 PM UTC
Thanks. I found a script now I have to figure out how to implement. I'm rather new to using scripts so I found a youTube to show me how and I'll be testing out Friday.
Translate