addBorder

Use this forum for beta-testing your photoshop scripts

Moderator: PS-Moderators

Re: addBorder

Postby pierrelabbe » Tue Jul 06, 2010 3:59 pm

The last version works with white, black and foregrond. With the others colors, I have this message :
Image
pierrelabbe
 
Posts: 19
Joined: Thu Jan 21, 2010 10:44 am
Location: Paris

Re: addBorder

Postby Mike Hale » Tue Jul 06, 2010 4:18 pm

Sorry you are still having trouble. Can you tell me which version of Photoshop you are using and details about the document you are using. Bit depth, color mode, etc.
Mike Hale
Site Admin
 
Posts: 2794
Joined: Fri Sep 30, 2005 10:52 pm
Location: USA

Re: addBorder

Postby pierrelabbe » Tue Jul 06, 2010 5:59 pm

My version is : 12.0.1 (in French)
File 8 bit in RGB with PSD format
pierrelabbe
 
Posts: 19
Joined: Thu Jan 21, 2010 10:44 am
Location: Paris

Re: addBorder

Postby Mike Hale » Wed Jul 07, 2010 12:59 am

pierrelabbe wrote:My version is : 12.0.1 (in French)
File 8 bit in RGB with PSD format

Except for mine is English that is what I have been doing most of my testing with. I can't get it to give me that error. If I cancel out of the Adobe color picker I do get an error but it is at a different place. From the error it looks like color is undefined but I do not understand why. I will contact you via email and we can try to solve this if you like.
Mike Hale
Site Admin
 
Posts: 2794
Joined: Fri Sep 30, 2005 10:52 pm
Location: USA

Re: addBorder

Postby Mike Hale » Wed Jul 07, 2010 3:47 pm

It turned out that there was a localization problem which is why it would not work in a French version of Photoshop. Here is the fix.
Attachments
addBorder.zip
Localization bug fixed.
(6.03 KiB) Downloaded 10 times
Mike Hale
Site Admin
 
Posts: 2794
Joined: Fri Sep 30, 2005 10:52 pm
Location: USA

Re: addBorder

Postby Gewuerz » Thu Jul 08, 2010 6:10 pm

Thank you for the addborder script developing.

If I have only one single smart object layer, it does not work yet correctly.
I can select no color. After execution the script the smart object layer is bordered transparency.

Now one more batch funktion would be great. Maybe it also goes with settings (*.ini or *.xml) - save for batch settings and load for batch settings?

Wolfgang
Gewuerz
 
Posts: 26
Joined: Wed Apr 26, 2006 6:55 am

Re: addBorder

Postby Mike Hale » Sun Jul 11, 2010 8:34 pm

A document needs to have a background layer for the border color to be applied. If it does not have a background layer the border is transparent. I do not think I want the script to add a background layer if the user took the effort to remove it from the document.

But here is a version that stores the last user settings and is recordable by an action so it can be batched.
Attachments
addBorder.zip
saves last setting and is action recordable.
(6.95 KiB) Downloaded 18 times
Mike Hale
Site Admin
 
Posts: 2794
Joined: Fri Sep 30, 2005 10:52 pm
Location: USA

Previous

Return to Photoshop Scripts: Beta Testing

Who is online

Users browsing this forum: No registered users and 1 guest