Skip navigation
sax_0n
Currently Being Moderated

How To hide warning dialog?

May 9, 2009 1:28 AM

Hi.

In my routine I need to substract mask. but when it's impossible the warning dialog is shown (Warning: no pixels were selected).

I call

error = sPSActionControl->Play(&result, eventSubtractFrom, desc.get(), plugInDialogSilent);

 

plugInDialogSilent /**< Never present a dialog; use only descriptor information; if the information

is insufficient to run the plug-in, the plug-in should return an

error in the \c errorString field of the plug-ins parameter block. */

 

How can I hide this message?

 
Replies
  • Currently Being Moderated
    May 29, 2012 6:13 PM   in reply to sax_0n

    Did you find a way to do this?

     

    I have a new problem with my automation plugin. I open a file using the eventOpen (and plugInDialogSilent) and after the plugin has open the image (o while it's opening it) photoshop displays the warning "This document may be damaged (the file may be truncated or incomplete).  Continue?" (the image is corrupt most of the times). If it had returned an error, in the play action call, I would have caught it and taken action, but it waits for user input (ok on the dialog) and I don't get back the control.

     

    Please some help?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (1)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points