I'm trying to get a script to run that has the total page count as a variable that I can use from an input PDF
Can anybody help with the correct expression to use to create this as a variable. I keep failing.
TIA for your help
PDF page count
Re: PDF page count
Code: Select all
var theNumber = job.getVariableAsNumber("[Stats.NumberOfPages]");
s.log(2, theNumber);
Re: PDF page count
Thanks for that. All working fine now 
