Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Browsing all 12244 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Batch replace smart objects with displacement map

Hi there, i am using this script for replace smart object with images.Problem is that on the layer in which I need to change the image imposed displacement map, and each time a window pops up asking to...

View Article


add node to xml file

Hi, I try to parse an xml file by the following way:  // read the content    var xml_file = File(xml_file_path);    xml_file.open('r');    var content = xml_file.read();    xml_file.close();    // add...

View Article


Did CC 2014.2 break textItem.size?

Scripts that worked before the update are now broken, and text layers created via script are all 12px. See this simple script:  var docRef = activeDocument; var TextLabel = docRef.artLayers.add();...

View Article

Need help cleaning up a script and adding loop

I have the following script that I pieced together that basically takes the selected layer, gets its name, makes a text object with that name and then places it in a specific place using the original...

View Article

Move group(s) into a group

I want to write a function to grouping selected layers and groups into a new group.It works fine with layers, but with groups I get an error "Illegal argument". In a document with just two groups (and...

View Article


How to get shape layers? (whitout select adjustements layers)

Hi,Shape layers and Adjustement Layer "Color fill" shares the same LayerKind. How can I difference them? ShapeLayerObject.kind == LayerKind.SOLIDFILL // trueColorFillLayerObject.kind ==...

View Article

Script to search layer names

Hi -  Does anyone know if there is a script that can search through layer names within a file for a specific text string and then select it as the active layer? For instance, if a file has 4 layers,...

View Article

How to get the style of a layer using photoshop scripting ??

As I know  there is a method  ApplyStyle(string)  which is uesd to apply the specified style to a layer. But I really don't know how to get the style name of a layer ? Anyone who knows? Please help me!...

View Article


open as linked smart object

Hello,  iam looking for a solution to open files in a folder and copy then into a document. Its working good, but i need the files to be linked smart object. Anyone knows a solution ?  Here my Code so...

View Article


How to Package and Distribute Scripts + Actions?

I'm already enjoying some success at distributing an interworking set of actions and scripts. BUT there are several barriers that I'm sure others have thought about solving, and I'd like to get an idea...

View Article

COM Reference in CS5 Missing

Does any body know what happened to the COM reference in visual studio 2008 for photoshop CS5, i just installed and my CS4 COM vanished and now there is no COM reference for photoshop CS5.

View Article

Can you open a file in PS & run a script from LR?

So one of my commercial clients wants their product files in a variety of formats, including PNG with transparency. I'd love to be able to provide them with this from LR, but you can't export as a PNG....

View Article

I can't get Photoshop CS6 startup script to works ?

Hi! I'm trying to get a script to execute each time photoshop cs6 is started. I've tried to put it in that folder ( Photoshop-CS6-Scripting-Guide.pdf page 10) C:\Program Files\Common...

View Article


Colour picker

I accidentally asked this question in the wrong forum.So is it possible to call the colorpicker from CS2 using JavaScript or let the user pick a colour mid script, as it were?However most answers...

View Article

A script for "Save for Web" as .jpg

I found a script that saves the current selected document in Photoshop as .png to the Desktop, and use it all the time. function main() {          // declare local variables          var doc =...

View Article


Search Tool for photoshop actions ?

Bonjour à tous, j'ai une tonne d'actions sous photoshop qui m'aident soit en photographie, soit en illustration. J'ai pas loin de 40 sets d'actions que j'utilise le plus et à l'intérieur, je dois avoir...

View Article

Run script based on pixel location?

Is it possible for a script/Action to execute based on the coordinates of a pixels location, on a transparent layer? Another words..  If a pixel is in coordinate X, run Script X,.. If its in coordinate...

View Article


how to make a selection of a layer delete content and paste another content...

how to make a selection of a layer delete content and paste another content with Photoshop scripting..?

View Article

Creating .ACB (Color Book) file from .ACO (swatches) file

Is there a way to convert a .aco file to a .acb file? I really need my colors to be visible in the Color Libraries section of Photoshop to use with Color Layers.The .acb files are the files located in...

View Article

Script to Create Folders Using Photoshop Scripting Mac/Windows

Can anyone help me. I want to create a script to create folders and run the script in Photoshop. I am a real novice at scripting and I do not know if this can be done. Thanks

View Article
Browsing all 12244 articles
Browse latest View live


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