Skip to main content
April 24, 2009
Question

Warning Dialogs in PhotoshopCS3

  • April 24, 2009
  • 1 reply
  • 6512 views

I do not want Photoshop to display any warning dialogs when trying to open an image(Ex:PDF file contains annotations and they will be discarded.. etc,) Is there any way that we can turn off or suppress these Warning Dialogs in PhotoshopCS3

This topic has been closed for replies.

1 reply

Paul Riggott
Inspiring
April 24, 2009

You could try this..

app.displayDialogs = DialogModes.NO;

April 24, 2009

Thanks Paul,

That will help us not to display the dialog boxes in photoshop..but still the warning dialogs which comes with OK button and a check box(Dont show dialog again) is still displayed..

ps = app('/Applications/Adobe Photoshop CS3/Adobe Photoshop CS3.app')

ps.display_dialogs.set(k.never)

The above mentioned two lines will help to suppress only dialog boxes not the warning dialogs which will come only some times when trying to open an image...any suggestions??

Paul Riggott
Inspiring
April 24, 2009

It may be your pdf open options?

var pdfOpenOptions = new PDFOpenOptions();
pdfOpenOptions.antialias = true;
pdfOpenOptions.suppressWarnings = true;
pdfOpenOptions.usePageNumber = true;
pdfOpenOptions.page = 1;
pdfOpenOptions.resolution = 72;
pdfOpenOptions.mode = OpenDocumentMode.RGB;

open(file,pdfOpenOptions);