Skip to main content
jjwithers
Inspiring
April 9, 2011
Released

P: Ability to delete multiple paths

  • April 9, 2011
  • 66 replies
  • 1994 views

Why can't you delete more than one path at a time? You can do this with Channels and layers... the path palette hasn't changed in ages.

66 replies

Inspiring
September 5, 2012
That's not an Applescript, but appears to be a JavaScript (executable from inside Photoshop).
September 4, 2012
I just copy and pasted this code into Apple Script Editor but get a "syntax error." Am I missing something?
Paul Riggott
Inspiring
September 4, 2012
Like this ...

 

#target Photoshop

main();
function main(){
if(!documents.length) return;
var doc = activeDocument;
for(var a = doc.pathItems.length-1;a>-1;a--){
if(doc.pathItems[a].name != "Path 1") doc.pathItems[a].remove();
}
}
Edward Caruso Photography
Participating Frequently
September 4, 2012
Hi Paul

If you had a path named Path 1 that you want saved - how would you change the script?
Paul Riggott
Inspiring
September 4, 2012
This should delete all paths except clipping paths..

 

#target Photoshop

main();
function main(){
if(!documents.length) return;
var doc = activeDocument;
for(var a = doc.pathItems.length-1;a>-1;a--){
if(doc.pathItems[a].kind != PathKind.CLIPPINGPATH) doc.pathItems[a].remove();
}
}
Edward Caruso Photography
Participating Frequently
September 4, 2012
make a script that removes all paths except that clipping path - have it named something in the script and exclude it. or find someone who can write one - i think there is a PS scripting exchange online somewhere.
September 4, 2012
I also do a lot of retouching. And paths are the pros way to make a quick and accurate selection. I agree with Mike Lippeth above, with his "In Addition to " suggestion. Be able to delete all paths except the Clipping Path. That is why the delete all paths script won't work for me. I need to keep the clipping path for the clients file. But I need to delete all the rest.

As was also pointed out... the need to organize the paths into groups / folders like in the layers palette is badly needed.

btw.. tho a pain, the click-delete method is what I currently use. It works faster than the alternative.
i4colour
Participant
August 22, 2012
I would like to see this feature added also! I've been waiting for a long time to see this this feature added. I use the pen tool a great deal making lots of working paths. They add up quick in the Paths pallet.

In addition to this proposed idea is to be able to delete all paths except the Clipping Path.
Inspiring
July 5, 2012
Joshua, to deactivate a path, simply shift-click it's icon in your Path Palette.

At least the multiple path deletion should have been implemented by now. Maybe the Adobe boys here forgot to send our request higher?

I'm not holding my breath tho - see how 'quickly' they respond to this...
jjwithers
jjwithersAuthor
Inspiring
July 4, 2012
I can't believe there was so little improvement on the Pen tool and Paths panel with the JDI initiative in CS6. It has been almost a decade since I have seen any change with the Pen tool. I have been asking for Path improvements with every Beta testing session.

I have figured out dozens of work arounds but it is frustrating and time consuming. For example, i have been making Vector masks on blank layers (or sometimes color layers) so i can see what i am doing, and so i can organize all my paths into folders, and transform them together, delete them all, etc...

I should be able to do that stuff in the Paths Panel.

Additionally, when you have so many paths that you can't expand your paths panel anymore, and you click on a path, it is very hard to de-activiate it (there is nowhere to click off the path).

Please please please Adobe... realize that nearly every professional retoucher (especially car retouchers) will create a path before using some of the selection tools. The pen tool needs to grow up!