Split PDF Filename

Post Reply
mkis
Member
Posts: 23
Joined: Fri Oct 21, 2011 3:19 pm
Location: Ahaus, Germany
Contact:

Split PDF Filename

Post by mkis »

Hello,



I've got a simple question about the "Split PDF" -Element.



Is it possible to set the index with a leading zero, if the number of pages is smaller than 10 pages?

E.g. filename.pdf -> filename_1.pdf if the document has only 4 pages, but it should be filename_01.pdf



Or do I have to write a script for that?



Thanks for your help!



Michael
dkelly
TOP CONTRIBUTOR
Posts: 658
Joined: Mon Nov 29, 2010 8:45 pm
Location: Alpharetta GA USA
Contact:

Split PDF Filename

Post by dkelly »

Use a Rename Job element after the splitting.
mkis
Member
Posts: 23
Joined: Fri Oct 21, 2011 3:19 pm
Location: Ahaus, Germany
Contact:

Split PDF Filename

Post by mkis »

Thanks,



I've used the Regex Search



_(?=d{1,1}$)



and Replace by



_0



in the rename element.



But it would be nice to have an option in the PDF Splitter for that...



Michael
Post Reply