Photoshop Paths

Upload Adobe Bridge Scripts, Download Adobe Bridge Scripts, Support for Individual Adobe Bridge Scripts

Moderators: xbytor, DavideBarranca, Paul MR

Mike Hale

Photoshop Paths

Postby Mike Hale » Fri Feb 10, 2012 8:45 pm

I agree with mark that extensions are a good thing on any platform. It makes working with the files easier. Both Mac and Windows allow you to hide the extension. Extensions also make file sharing across platforms easier.

Mark, a file object on Mac will have a type property. You could use that for files without extensions. Image Processor is an example of a script that can deal with files without extensions on the MacOS.


Photoshop Paths

Postby larsen67 » Sat Feb 11, 2012 12:02 am

Mike, I didn't know windows could do that… I thought extensions were windows mandatory n mac optional ( but hidden ) Yes on the mac OS you can go to the file types TIFF and creator types 8BIM being Photoshop… What I had never looked at was how the ESTK handled this hidden extension or maybe NOT? I know it has a File.hidden as in an OS file… I will have to take a look new issue…

Mike Hale

Photoshop Paths

Postby Mike Hale » Sat Feb 11, 2012 12:24 am

Sorry if I wasn't clear. While extensions on Windows are not mandatory, files without extensions are almost useless because the extension is the only way Windows makes the file associations. What I was trying to say was that you can hide the extensions from view. They are still there but don't show.


Photoshop Paths

Postby Arianesp » Fri May 11, 2012 11:54 am

Hi !

can we have that script for pc?
its not working, i try on 2 computer...but its working on mac!



Photoshop Paths

Postby tms » Tue Jun 26, 2012 3:40 pm

Hi there,

today I found and tried your script about the photoshop paths in bridge, it just works. I'm new in javascripting bridge, but have done some applescripts to do some tasks in finder, photoshop, indesign and to tag information to the metadate of pictures, and lately I wanted to get into scripting bridge and photoshop, because it's very needfull at work.

long story shortened:

I tried to open your script in textwrangler and the ExtendScript Toolkit, but none of them revealed the code properly, so I'd like to know wheter your code is secret or you could send it to me, to learn something about how to write scripts for bridge and maybe edit it for my interests ..

Thanks a lot


Posts: 0
Joined: Mon Jun 25, 2012 9:42 am

Paul MR

Photoshop Paths

Postby Paul MR » Thu Jun 28, 2012 7:55 am

Hi Sebastian, getting the path information requires parsing the files in binary, here is another example but you can read this code so that you should get an idea what is going on.
This script will create three folders hasPath, noPath and hasClip
it will sort a folder full of psd, tif, jpg or eps files into the respective folders, unsaved paths (workpath) is supported.

Return to “Adobe Bridge Scripts”

Who is online

Users browsing this forum: No registered users and 2 guests