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);
Part of my playground:
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.
Chat: open-automation @ gitter
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.
Chat: open-automation @ gitter
Re: PDF page count
Thanks for that. All working fine now 
