Skip to main content
Participant
November 19, 2025
Question

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

  • November 19, 2025
  • 3 replies
  • 120 views

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

3 replies

Mike Witherell
Community Expert
Community Expert
November 20, 2025

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.

Mike Witherell
Participant
November 20, 2025

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

Mike Witherell
Community Expert
Community Expert
November 20, 2025

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 ?  

Mike Witherell
Participant
November 20, 2025

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.

Anantha Prabu G
Legend
November 20, 2025

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.

 
Thanks,PrabuDesign smarter, faster, and bolder with InDesign scripting.
Participant
November 20, 2025
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.