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

Copy Shape Attributes & Layer Style from one layer & paste to another?

I don't know Photoshop scripting and wanted a script to copy both the Shape Attributes and Layer Style from one layer, and then another script to paste them to a different layer. I used the...

View Article


Re: Calculating width height in script

Your explanation is not clear to me with regard to the realtion of the Layers in the one file and the individual images in the folder.  What do you mean with »store the value of L & W of first...

View Article


Re: Copy Shape Attributes & Layer Style from one layer & paste to another?

A try-clause seem to be an option. try {…}catch (e) {} Checking for Layer Styles is possible, too. var ref = new ActionReference();ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"),...

View Article

Image may be NSFW.
Clik here to view.

Re: Copy Shape Attributes & Layer Style from one layer & paste to another?

Thanks! The try-clause thing stops me from getting the error messge  I'm not sure how to use the 'checking for Layer Styles' part. Does it check for Layer Styles and copy them if they're present and...

View Article

Re: Copy Shape Attributes & Layer Style from one layer & paste to another?

I'm not sure how to use the 'checking for Layer Styles' part. Does it check for Layer Styles and copy them if they're present and ignore/not try to copy if they're not present?It just checks, you can...

View Article


Re: Copy Shape Attributes & Layer Style from one layer & paste to another?

Thanks again.For the copying script this seems to work OK. Does it look OK, or could there be any problems? // Copy Shape Attributestry {var idshapeClipboardOperation = stringIDToTypeID(...

View Article

Javascript Version

Time for a stoopid question: What version of javaScript does Photoshop use? And how do you find out that out? ie Is it 1.6 or later??

View Article

Re: Javascript Version

Photoshop uses its own as far as I know.

View Article


Re: Javascript Version

ECMA 262 and ECMA 357 is what I was told. We call it ExtendScript.

View Article


Re: Javascript Version

What JJMack said. If there is a feature in some specific version of JS that you are interested in using, you need to test for that feature in the version of PS that you are using. Also, the ESTK...

View Article

Re: Calculating width height in script

I think part of the problem may be that you do not fully understand that Photoshop is a document editor and can save documents in image files. You may have knowldge about your PSD files that you have...

View Article

Loading Gradient map file

I can notfind a way to load (via script) a desired GradientMap from file in thelayer. Is thiseven possible?Thanks for the reply.

View Article

Re: Copy Shape Attributes & Layer Style from one layer & paste to another?

Come to think of it Layer Style is not determined by Layer Styles alone, Blend Mode, Opacity and Fill also count.

View Article


Re: Loading Gradient map file

Have you tried recording the procedure with ScriptingListener.plugin?

View Article

Re: Javascript Version

Filter doesn't seem to work for me var a = [1,2,3,,,6,7,,0]; a = a.filter(function(n){return n}); alert(arr)  Works in javaScript 1.6 though  

View Article


Re: Loading Gradient map file

Yes, I did try it. But Listener cannot capture file loading. I know, however, that there is a code for loading Curves, so I suppose that it is possible also to load Gradient Map.  And a further problem...

View Article

Re: Copy Shape Attributes & Layer Style from one layer & paste to another?

Ah, maybe I should just stick with the try-clause thing so it tries to copy Layer Styles even if the layer doesn't have any, and fails silently then. Thanks.

View Article


Image may be NSFW.
Clik here to view.

Document operations missing when using my palette

Hi,after a lot of trial and error I have finaly managed to get a custom palette running in my Photoshop CS6. The problem I have now is that when my palette is active I am missing some functions from...

View Article

Re: Javascript Version

If 'filter' is specified in one of the ECMA revs Tom mentioned, file a bug report. In the meantime, you will need to implement your own filter function and drop it in like this: if...

View Article

Re: Automate merge files into stack

Michael L Hale,Thanks for this bit of code. It is exactly what I need to automate an action that combines two open files without the prompt. Only thing I would like to ask your help now is how would I...

View Article
Browsing all 27456 articles
Browse latest View live


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