Thanks in advance!
/* Extract Pages to Folder */
// A regular expression to acquire the base name of the file.
var re = /.*\/|\.pdf$/ig;
var filename = this.path.replace(re,"");
for ( var i = 0; i < this.numPages; i++ )
First of all, you're using a variable called x, when in fact you should use
To answer your question, you just need to change it from i to (i+1), like so
(I removed the zero. If you want to add an extra zero, you need to place it
inside of the quotes):
cPath : filename + "-" + (x+1) + ".pdf"
Sorry the "x" was from some alternatives i had been trying.
But that does the trick.
Thanks heaps for your quick response!