Is there any way to not display the prompt or dialog in code?
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
}
