Dear all, I am trying to write a script for pdfedit that opens a file, does something to it, and then saves the result. Everything works nicely, except, I don't know how to save the result. The only way I can see to save a pdf from a script is via the saveAs method, which however ignores the changes made so far (which in turn is intended as I understand from
http://pdfedit.petricek.net/bt/view.php?id=301 ). So how is one supposed to save the changes to disk? Thanks in advance for your help! Best, Stefan P.S.: For concreteness' sake, let's pretend I want to remove the first page. I would try this: doc=loadPdf("file.pdf",false); doc.removePage(1); doc.saveAs("file_without_page_1.pdf"); doc.unloadPdf(); and run it with pdfedit -s scriptname ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Pdfedit-support mailing list Pdfedit-support@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdfedit-support