Clipping paths and renaming and labeling

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

DustinHoffman

Clipping paths and renaming and labeling

Post by DustinHoffman »

Hi & Hello

I have tried so many hours to find a script that activates the clipping path and then rename it and also select the files with no paths and label/mark them. I have found quite similar ones and the nearest i have come is at this forum which is a really great forum at it´s topic. The script that I would like to have help with is:

1. Activate the clipping path (do a clipping path from the path), and if it´s already activated it will remain like that
2. after that I want to rename it to "Path 1".
3. If there is no path at all I want the files marked red so I can easily see those files in the finder.

Is there a solution for this anyone?

Have a nice day! / Joakim

Professional AI Audio Generation within Adobe Premiere Pro - Download Free Plugin here

larsen67

Clipping paths and renaming and labeling

Post by larsen67 »

All of what you have mentioned can be done using JavaScript… The only part that it does not have direct access to is Finder Labels on mac OS. They can be done with a call out to the system if you are running Photoshop CS4 or above… Do you actually need a 'clipping path' as such or does the path just need to be named so that it is no longer a 'work path'? I used to 'have to' use clipping paths but thats no longer the case just the 'work' ones that don't show up in InDesign…
DustinHoffman

Clipping paths and renaming and labeling

Post by DustinHoffman »

Thanx for answer! I do need have to have clipping paths in the work i´m doing now because they have to be activated directly when importing to InDesign. The label thing; is there a possibility to instead of laabeling the files just move them to a folder at the desktop named for example "No clipping paths"? I´m using Photoshop CS 5 and Mac OS Snow Leopard.
larsen67

Clipping paths and renaming and labeling

Post by larsen67 »

Sure moving files to a different location based on path item existence is no problem. The Finder Labels can be done their just not a listed property of the file object. I don't know why 'creator types' are available on mac OS but don't exist on windows. My guess was that Adobe must have considered 'Labels' not important… (Yet uses a similar thing in Bridge)…