Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

How to get rid of confirmation dialog on actions with scripts (multi path delete)?

$
0
0

I'm trying to use a script in actions to clear all paths, from the web found the "activeDocument.pathItems.removeAll();" and it works nicely when invoked from script menu with no dialogs at all but when I try to use it in actions it always pops a dialog box asking for confirmation if I really want to delete  "Path whatever".

 

Any help on how to run this actions without dialog box would be much appreciated.

Ty in advance.


Viewing all articles
Browse latest Browse all 12244

Trending Articles



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