Skip to main content
August 12, 2016
Question

JavaScript to export multiple pdfs

  • August 12, 2016
  • 1 reply
  • 958 views

Hi,

I'm trying to export multiple pdfs of about 500 pages each (2000KB), into excels, since the pdf are basically tables. I had originally 1 pdf with approx 4,6K pages, but it was to big to export, so I split it in about 10 docs.

Exporting each pdf takes a lot of time, so I would like some code so I can leave it running all night. I'm new in Javascript, so I don't know how to write that simple script and I haven't found the answer after googling a lot. Could someone help me writing it? I'm sure it's just a simple loop that opens files and export them.

Thanks

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
August 12, 2016

This needs to be done in an Action, which has its own limitations and probably won't be able to process all of your files in a single go.

Acrobat is simply not suited for this kind of heavy batch processing, unfortunately.

August 12, 2016

Is the problem the size of the document or the number of documents? What if I split it in more, smaller, documents (100pg, 400kb each?). Would that help?

What is the alternative for getting this data into excels then?

Not sure if it is relevant, but I'm using Adobe Acrobat Pro DC.

Thanks

try67
Community Expert
Community Expert
August 12, 2016

Both could be an issue. You didn't mention how many files you want to process, though...