Hello all,
I need into a PDF file to put the first page on the document on the last page. Seq ex. 1-2-3-4-5 to 2-3-5-1
I think it’s possible with a script.
Someone can help me ?
THX
Use this JavaScript code:
var myPDF = Watch.GetPDFEditObject();
myPDF.Open(Watch.GetJobFileName(),false);
myPDF.Pages().Move(0,1,myPDF.Pages().Count()-1)
myPDF.Save(false);
myPDF.Close();
CollectGarbage();
Hi Phil,
Thank you but it doesn’t work in the PlanetPress Worflow. i’ve this message
[0002] W3602 : Error 0 on line 1, column 37: Microsoft VBScript compilation error: Expected end of statement
Hi Phil,
That works now. Ijust forget the langage