Split PDF & numbering

Post Reply
robh
Newbie
Posts: 1
Joined: Mon Nov 09, 2015 8:55 pm

Split PDF & numbering

Post by robh »

Hello,

Im trying to split a pdf and get the numbering right.
An example filename could be like this:

Original_Page03,5-8,12,14-16.pdf

The filenames should be like this after splitting with Split PDF:

filename_3.pdf
filename_5.pdf
filename_6.pdf
filename_7.pdf
filename_8.pdf
filename_12.pdf
filename_14.pdf
filename_15.pdf
filename_16.pdf

Is there anyway to do this?
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Re: Split PDF & numbering

Post by gabrielp »

That seems like a bad way of doing that. You're going to need something to parse that file name to figure out what pdfs should be kept and that parsing mechanism will likely fail if you introduce strange characters or patterns into your original file name.

I don't know how to do what you want, on its face. But if you can give some context into what you're doing, and what system is putting the "03,5-8,12,14-16" part of the file name, I may be able to give you suggestions on another way to handle it.
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
Post Reply