Skip to main content
Participating Frequently
November 15, 2019
Question

Turn off Deletion Confirmation?

  • November 15, 2019
  • 2 replies
  • 384 views

Hi there!

 

I was wondering if anyone knows in CC 2020 if there is a way for me to turn off the confirmation every time I go to delete a gradient map. My job requires a lot of gradients used so I am constantly temporarily saving with quick deletion, and having the extra step to confirm is just....very annoying. 

 

I have Windows so information for how to do it there would be great, but I can probably figure out with Mac instructions too!

 

Thanks!

This topic has been closed for replies.

2 replies

Stephen Marsh
Community Expert
Community Expert
November 18, 2019

Bump! Curious minds need to know...

Stephen Marsh
Community Expert
Community Expert
November 15, 2019

I don't have 2020 yet, so I am flying blind...

 

Do you mean a gradient map adjustment layer?

 

If so, this untested script may help:

 

#target photoshop
app.displayDialogs = DialogModes.NO;
app.activeDocument.activeLayer.remove();
app.displayDialogs = DialogModes.YES;

 

You would target the layer, then run the script. If it does work, it can be installed and a custom keyboard shortcut can be applied to run the script.