Avoid "Import PDF" dialogue in Photoshop Scripting
Hi there,
So I am doing the Scripting Guide example of Importing a pdf and unfortunately when using this option seems that Photoshop is prompting for more options for the PDF, on what it kills the purpose of the Script
At the moment I am on
var fileRef = new File ("/c/myfile/path.pdf");
var pdfOpenOptions = new PDFOpenOptions;
pdfOpenOptions.antiAlias = true;
pdfOpenOptions.mode = OpenDocumentMode.RGB;
pdfOpenOptions.resolution = 72;
pdfOpenOptions.page = 3;
app.open(fileRef, pdfOpenOptions);
And is prompting an "Import PDF" dialogue.
Anyone knows how to supress thisone? Thank you