Hello Forum,
I am looking here in the forum to get the syntax for zero leading numbers, but of the topics are in Formulars. I need the following:
A part of my script is this:
//Save the current Document in the same Path with suffix 001,002//
for ( var i = 0; i < this.numPages; i++ )
this.extractPages ({
nStart: i,
cPath: ""+this.documentFileName+"_" +(i+1)+".pdf"
Acrobat output with this Folderscript is:
e.g. Page_1.pdf, Page_2.pdf...Page_99.pdf
I need this numbering:
e.g. Page_001.pdf, Page_002.pdf...Page_099.pdf
Why? Because sorting by Numbers with e.g.Page_1.pdf is not good when if have more than 10 Pages to save.
I tried all for some hours with e.g. "_00" or i+1 andso on.
Please help me
kind regards
Gebhard
George Kaiser