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.