I have an old form creation program called, "Informed" and have many old forms with data in them that I would like to save as simple pdf files. (Not forms at the present time)
The program offers two scripts that I would like to try and put together to accomplish this task. The first is:
// Set the current collection of the current document to all
// records of the current document.
var theDoc = Informed.currentDocument;
theDoc.currentCollection = theDoc.Record(ALL);
This will apparently put each document together as a collection (which is what I want to make into one single pdf file. This is an important step because the default action, when printing for instance, is to just print the top document. One has to tell the program you want all documents in the collection)
The second part is:
// Save pages 1 to 3 to a multipage PDF file at 144 dpi.
PDFSave.saveCurrentRecord ("c:\\temp\\myPDF.pdf", FAXG4_FORMAT, 1, 3, true, 2)
This was Informed's "savepdf" script. I don't need to specify a page range or have that particular format. Notice that they only wrote the script to save just a "CurrentRecord" and not a "collection."
I thought there should be a way to merge these two.
Any ideas would be appreciated. Thanks.