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

Re: Javascript Version

ECMA 262 (probably version/edition 3) and ECMA 357 is what I was told. We call it ExtendScript.

View Article


Re: How to get corner radius of the shape object.

Thanks for the reply,I tried to do that using path points. Following is the code, var arr = new Array;var paths = app.activeDocument.pathItems;for (var i=0; i < Paths.length; i++) {    var subpaths...

View Article


How to access c++ dll from javascript plugin?

I have some dll files which I intened to use within Photoshop Javascript plugin. Is it possible?.If yes can you give me example. Thanks,    Chameera.

View Article

Re: How to access c++ dll from javascript plugin?

I think you would have to write you own DLL or modify the example to use with Adobe products.There is an example in the Bridge SDK (BasicExternalObject).http://www.adobe.com/devnet/bridge.edu.html

View Article

Re: Batch replace smart objects

This worked after I ungrouped the layers.  Thank you so much for all your help, it is really appreciated!

View Article


Re: scale layer to current canvas size photoshop

Bump - I need the same thing requested by Evanalmighty - How do I modify the script from Michael L Hale so that the canvas size is maintained, but the layer selected aspect ratio is maintained but...

View Article

Re: How to get corner radius of the shape object.

Hi all, Is there any way to get the corner radius through the descriptor code? Thanks..

View Article

Re: native map in javascript

Update for some reason  Array.prototype.map.call(aa,function (i){alert(i);}); seems to work

View Article


Re: How to get corner radius of the shape object.

But this will not work if the shape is transformed, let's say if it is rotated to a specific angle then I am not getting the correct value.A little testing seems to indicate that the round corner...

View Article


Re: How to get corner radius of the shape object.

Thanks for showing me direction..I will try this and let you know..

View Article

I need a script to replace layers. PS CS5

Ok, let's say I need to replace layer (x) with layer (y), of course, Layer (y) is not in the composition.(NOTE: layer (y) is a Vector Smart Layer while layer (x) is a regular layer named "Layer 4")And...

View Article

Re: How to get corner radius of the shape object.

I suppose implementing those checks is a bit toilsome, but I could not identify the proper Keys to get the information via ActonManager code. Maybe someone else has more insight, though.

View Article

Re: I need a script to replace layers. PS CS5

while layer (x) is a regular layer named "Layer 4") The line if (layer.kind == "LayerKind.SMARTOBJECT") {checks for Smart Objects. If your Layers are not SOs then naturally the Script can not replace...

View Article


Re: Statistical center of layer

In case anyone is interested, the solution I found is as follows: Duplicate layerSquash the layer to 1px in width, thus creating an approximation of the density of pixels per line.Select the pixels.Go...

View Article

Re: I need a script to replace layers. PS CS5

What is the edit needed to complete my task?

View Article


Image may be NSFW.
Clik here to view.

Re: I need a script to replace layers. PS CS5

This is BASICALLY what I want a script to do, I know this seams stupid, I never really drew a flow chart before but there it is!

View Article

(CC) Save all Layer Masks as Alpha Channels

Hello,I've looked everywhere and can't seem to find a script to do this. I am looking for a script to simply check every layer for a layer mask and if there is one, save it as an alpha channel. The...

View Article


Re: (CC) Save all Layer Masks as Alpha Channels

First of all, why would you want to do this?  The layer masks are saved with the layer, so you're just increasing your file size.

View Article

Re: (CC) Save all Layer Masks as Alpha Channels

Layer Mask and Alpha channels are more or less the same thing.  However only the current  active layer's layer mask is shown in the Channels palette. Other layers Layer masks are not displayed there...

View Article

Re: (CC) Save all Layer Masks as Alpha Channels

In this thread the task was to save Layer Masks as separate files, you may be able to adapt the Script … http://ps-scripts.com/bb/viewtopic.php?f=9&t=5683&sid=e925a8f83fd8f738 6ff34805ec78ca56

View Article
Browsing all 27456 articles
Browse latest View live


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