Copy link to clipboard
Copied
Photoshop pops up a confirmation prompt to ask for confirmation when I try to create a new layer(with the shortcut key I set up ) , or fill the canvas with foreground color or use a script or etc, but sometimes it doesn't show the box that everything goes automatically. That confused me so much, and it's very annoying to click OK when this happened.
Is there anyway to disable the confirmation prompt forever and make every step automatically done without asking for confrimation?
By the way I'm using Photoshop CC 2021.
Thanks for help!
I figured out what was happenning after doing some tests in photoshop just now.
It's seems like whenever after I use a specific script, the dialog starts to pop up randomly.
And I went on to check the script,and found that a sentence "app.displayDialogs = DialogModes.All" is in it.
I changed it to "app.displayDialogs = DialogModes.NO", and the problem no longer appears, the dialog shows up no more.
Thank you very much!
Copy link to clipboard
Copied
Hi @tatata5E93, In Preferences, under Tools, uncheck “Show Rich Tooltips” to see if that stops the pop-up messages.
Copy link to clipboard
Copied
Thanks for the reply. It's already unchecked, the pop up still shows up at random.
Copy link to clipboard
Copied
How did you setup your shortcut key? How is it triggered? What method is it calling?
There are different ways to create a new layer, some invoke the dialog, others don't:
* Layers panel, new layer icon (no dialog by default, hold down ALT/OPT and click to invoke the dialog)
* Layers menu or layers panel menu, new layer (dialog by default, hold down ALT/OPT when selecting to invoke without the dialog)
* CTRL/CMD SHIFT N to create with dialog, add the ALT/OPT key to create without the dialog
It's similar but different for filling a layer:
SHIFT BACKSPACE to fill with dialog
ALT/OPT BACKSPACE to fill with the foreground colour
CTRL ALT/OPT SHIFT BACKSPACE to fill with the background colour
Copy link to clipboard
Copied
Thanks for the reply. It gave me some ideas about the problem.
I'm sorry for the lack of details at the oringinal post.
In my case, for example, I set up "F3" to create a new layer at the keybind settings and just press "F3" to triggle it.
What confused me is that this dialog doesn't pop up everytime.
The confirmation prompt doesn't pop up when I just open up Photoshop and create a new layer by pressing "F3". But a few minutes or hours later when I create a new layer the same way it may pop up again abruptly. Then after a while it may suddenly decide to go back to not pop up again. I have no idea what triggles it.
And another case in which the problem is far more annoying.
I use a script which instantly fills the selection made with lasso tool using the foreground color. At the beginning it works very well without a confirmation dialog, but after a while when I again make a selection with the lasso tool, the confrimation dialogue may decides to pop up again. Sometimes it shows sometimes it doesn't, and I can't figure out why. If I don't want to confirm it every time when I make a selection, the only way is to restart my photoshop.
And this may happen in other scripts without the need of filling color either.
I appriciate any help with this probloem!
Copy link to clipboard
Copied
I figured out what was happenning after doing some tests in photoshop just now.
It's seems like whenever after I use a specific script, the dialog starts to pop up randomly.
And I went on to check the script,and found that a sentence "app.displayDialogs = DialogModes.All" is in it.
I changed it to "app.displayDialogs = DialogModes.NO", and the problem no longer appears, the dialog shows up no more.
Thank you very much!
Copy link to clipboard
Copied
@tatata5E93 – Looks like you have answered your own question! I have marked it as the correct answer.
A "well-designed" script will capture the dialog or ruler settings, change them as required, and then change them back to the original settings to avoid such issues.
// ASSUMING DIALOGS ARE CURRENTLY SET TO NO/OFF
var savedDisplayDialogs = app.displayDialogs;
// CHANGE THE DIALOGS TO ON
app.displayDialogs = DialogModes.ALL;
// MAIN SCRIPT CODE TO DO STUFF...
// RESTORE THE DIALOGS TO THEIR ORIGINAL SETTINGS
app.displayDialogs = savedDisplayDialogs;
Copy link to clipboard
Copied
Thank you very much!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now