Delete all paths option

  • 1
  • Idea
  • Updated 7 months ago

This conversation has been merged. Please reference the main conversation: Photoshop: Ability to delete multiple paths

As a retoucher I use paths a lot. When my images are done I use Image Processor to export the images with a flatten action. After doing this I currently have to go into each image and delete all the paths individually on every image. It would be lovely if a "Delete All Paths" option would be available, so I also could record it do an action and process them out while drinking coffee.
Photo of Marius Viken

Marius Viken

  • 2 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Stephen Marsh

Stephen Marsh

  • 103 Posts
  • 19 Reply Likes
Try this script:

// remove all paths
if (documents.length > 0) {
docRef = activeDocument;
for (var i = docRef.pathItems.length-1 ; i >=0 ; i--) {
} else {
alert("There must be at least one open document to run this script!");

This conversation is no longer open for comments or replies.