Skip to main content
raxby
Inspiring
August 19, 2019
Question

Is there any way to not display the prompt or dialog in code?

  • August 19, 2019
  • 1 reply
  • 760 views

When the picture has no subject, it will be prompted.I don't want to display it, because i want to run in silent mode.

I try to use "app.displayDialogs = DialogModes.NO;",but it didn't work,the code is here:

try{

     app.displayDialogs = DialogModes.NO;

     executeAction(stringIDToTypeID('autoCutout'), undefined, DialogModes.NO);

}catch(e){

     //not show error

}

This topic has been closed for replies.

1 reply

Geppetto Luis
Legend
August 19, 2019

I think this error window cannot be hidden.