Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Browsing all 27456 articles
Browse latest View live

Re: script flow control

I also just noticed that you move defining the file you want to save to the top, before there is any document open. You want to set the variable to the file at the top, run your script and then before...

View Article


Re: Re: Re: Photoshop 2014.2 bug with duplicating layers in different doc

Thanks for the feedback! The sample code is meant for the sample psd, so it's playing on assumption that there is only one layer that is not background, is visible and not locked. In the production...

View Article


How to get the Pattern ID of pattern in pat file

Hi, I want a set of actions to be executed to an image. One of the action is to apply a pattern. I created a action in the hope that the new pattern can be selected before running the action. But the...

View Article

Re: How to get the Pattern ID of pattern in pat file

I think Xbytor has a script that might do that in his xtools, but I'm sure he can comment better on this. ps-scripts - Browse Files at SourceForge.net

View Article

Re: Photoshop 2014.2 bug with duplicating layers in different doc

Yes, you have to have the doc from which you're moving the layer from as the front document. So far, I haven't had any issues with duplicating a layer using PLACEAFTER, as long as I'm not trying to...

View Article


Adding date picture taken to multiple photos

Hi,I am a total novice in scripting, but I believe that there should be a way to create a batch script that reads the date taken information from a jpeg file and adds it as a stamp on all of the...

View Article

Re: Photoshop 2014.2 bug with duplicating layers in different doc

Well, I never had issues before CC 2014.2 (still works fine in CC 2012 and CS6), have you tested that? It might also be dependant on the layer internal state, i.e. that merge might matter.

View Article

Re: How to get the Pattern ID of pattern in pat file

Yep. I've got some code for this.http://ps-scripts.cvs.sourceforge.net/viewvc/ps-scripts/xtools/xlib/PatternFile.js I've just uploaded a new rev of this file that removes any external dependencies,...

View Article


Re: Adding date picture taken to multiple photos

Yes, can get the date the image was shot with the below code. You would then create a new text layer, position it where you want it and use the return value of the below function to replace the text...

View Article


Re: How to get the Pattern ID of pattern in pat file

I've been trying to get Adobe to add the ability to use the pattern thumbnail in a script ui, so that you can see which pattern you want. With the deco fill scripts, this would be great to be able to...

View Article

Image may be NSFW.
Clik here to view.

Photoshop CS6 using javaScript to truncate alpha channel name

Hello, I'm a production artist and I work with PSD files that were created in Adobe Scene7 Image Authoring Tool. These PSDs contain a background layer along with 1-20 alpha channels. My script has to...

View Article

Re: Photoshop CS6 using javaScript to truncate alpha channel name

while (alphaName.subString(x) != "\"){   should be while (alphaName.subString(x) != "\\"){ 

View Article

How batch export layers to files png in cc

I am having trouble with an export layers to files script i am wanting to batch export layer to png and this script i have seems to be the one i want although every time i run the script i get this...

View Article


Re: How to get the Pattern ID of pattern in pat file

Thanks csuebele and xbytor. I am going through your library. It has great material.  In the interim, found a dirty solution to get going. I opened a layer and filled all the patterns of the pat file...

View Article

Re: How batch export layers to files png in cc

To define a subfolder in the user folder, you need to use the "~" to reference the user folders. You should also define the path as a folder like this: var userFolder = new Folder('~/desktop/');

View Article


Re: How batch export layers to files png in cc

I must admit i not sure on scripting myself i didnt write the script although i was hoping someone might be able to correct the problem for me if they are able to. the path in which i wish to save the...

View Article

Re: How batch export layers to files png in cc

Actually, later in the script a folder is defined using the exportPath variable, so you wouldn't need to define it as a folder as I mentioned, but the path should use the "~" as I mentioned above to...

View Article


Re: How batch export layers to files png in cc

Were abouts in the script would i need to define users desktop like this C:/Users/Tim/Desktop/Backdrops/png/ and if i use the path "~" would it be like this C:/Users/~/Tim/Desktop/Backdrops/png/ do i...

View Article

Re: Re: How batch export layers to files png in cc

The variable exportPath is what you want to change near the beginning. It should read:  var exportPath = "~/Desktop/Backdrops/png/"; exportPath = exportPath + '/layers';//Get rid of thisThe line you...

View Article

Re: How batch export layers to files png in cc

I have put the like var exportPath = "~/Desktop/Backdrops/png/";  and have removed the exportPath = exportPath + '/layers';but when i run the script it still comes up with the error could not complete...

View Article
Browsing all 27456 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>