Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

How to delete a document if I press escKey while running a script. Please help...

$
0
0

Hi,

I hope you guys are well.

I've been writing a script (Javascript ) for my workflow like importing images, creating new layers and layer adjustment.

When a dialog appear, all the buttons work correctly. But before that, if I press the ecs key while the script is running (creating layers and adjustment layers), the script stops but it doesn't delete a document like my cancel button does.

How do I fix that.

Thank you so much.

Nico,


Viewing all articles
Browse latest Browse all 27456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>