Skip to main content
Inspiring
September 30, 2019
Question

Suppress dialog boxes in all scripts

  • September 30, 2019
  • 3 replies
  • 1667 views

Not sure if this is a Mac thing, but I've noticed that I've add to add 

 

displayDialogs = DialogModes.NO; // OFF

 

To most of my scripts (Photoshop CC) in order to supress any dialog boxes that wouldn't normally pop up on my PC (Photoshop CC). 

 

Is there a global switch to supress dialogue bboxes popping up a (and stopping ) scripts from processing?

Please don't say delete preferences 🙂

  

This topic has been closed for replies.

3 replies

Legend
October 3, 2019

Have you heard about startup scripts?

Chuck Uebele
Community Expert
Community Expert
October 1, 2019

If you used the code:

 

displayDialogs = DialogMode.ALL

 

Then you have to use:

 

displayDialogs = DialogMode.NO

 

To turn it off. You might have a script that you're running that turns everything on.

 

 

Chuck Uebele
Community Expert
Community Expert
September 30, 2019

No, I don't think there is a global switch. You have to add that to each of your scripts.

GhoulfoolAuthor
Inspiring
October 1, 2019
That doesn't explain why a script works fine one day and then doesn't run properly the next as it stops at every dialog box along the way. Could it be the difference from running on a PC then changing to a Mac?