In my routine I need to substract mask. but when it's impossible the warning dialog is shown (Warning: no pixels were selected).
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?
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?
Europe, Middle East and Africa