Question
Create Print PDF using ExtendScript
Hi all,
I'm trying to use a script to save all files in a book as single PDF files, but for some reason the value for Constants.FP_PDFSeparateFiles pops up an error; no matter if I try to set it as integer or boolean –
can anyone help?
var params, returnParams, i;
params = GetSaveDefaultParams ();
returnParams = new PropVals ();
i = GetPropIndex (params, Constants.FS_FileType);
params[i].propVal.ival = Constants.FV_SaveFmtPdf;
i = GetPropIndex (params, Constants.FS_PDFUseDistiller);
params[i].propVal.ival = 0;
i = GetPropIndex (params, Constants.FP_PDFSeparateFiles);
params[i].propVal.ival = true; //1
