Questions about the script/extension language in Photoshop, used to automate certain tasks.

learn more… | top users | synonyms (1)

5
votes
2answers
7k views

Replace individual colors in multiple layers

The goal Replace individual colors in a multi-layer Photoshop document in a way that is flexible and efficient enough to be done a multiple times in the production process—like when I need to update ...
1
vote
2answers
83 views

Keep one layer always on top of the rest?

Is there a script/plugin that could make one layer appear always on top? I am busy with a website design and I created some safe zones which I like to have on top at all times. However, now when I ...
1
vote
2answers
152 views

Export layers to files sized according to content of layer

Sorry for the confusing title. What I did was scan 3-4 photos at a time and then crop those photos into new layers per scan and then I combined them all into one .psd file. So what I have now are ...
0
votes
2answers
47 views

Ending a PS CC script when no layers are selected

I've been working with a function I found on stackoverflow here that works as far as I can tell by grouping the layers, dumping layer names into an array then ungrouping them. function ...
0
votes
2answers
131 views

PS CC Filter Selections used in Actions

The new layer filters is nice but doesn't record when making actions. Before I was able to add 'Select similar layer' in an action and edit all similar layers (because they have different layer names) ...
4
votes
1answer
622 views

Is there an automated, configurable way to organize many layers into a sprite sheet grid with exact pixel coordinates in Photoshop?

I have a huge grid of icons that need to be positioned so that I can write sprites out of them after I'm done. Right now, I have so many layers, it'd take me forever to click on each one ...
4
votes
1answer
392 views

Is there a way to create a dockable palette for Photoshop with ScriptUI?

I am using ScriptUI for the first time and would like to create a custom palette with several text boxes and buttons that can be conveniently docked into the Photoshop UI. Can this be accomplished ...
1
vote
1answer
245 views

Scripting Photoshop: path has too many points to be converted to selection?

I am working with some large tiff files with fairly complex clipping paths, and have written a script to convert the paths to a selection, invert that selection and delete pixels in order to ...
0
votes
1answer
132 views

How to cut a single pdf page in parts and save each part as images

I have a pdf with 10 question in it and now I want to create separate images of fix size for each question saved in a separate folder. How to do it automatically
-1
votes
1answer
30 views

Scripting In photoshop and Illustrator

I'm a graphic designer, but I have never been into coding, now I want to learn Scripting for adobe programs like photoshop and illustrator, What would be a good place for a non developer to start ...
1
vote
0answers
17 views

How can I extract cursor coordinate in Adobe Photoshop for use in Action script?

What I want to do in Photoshop (version CC, but I think this applies to any version) is label a point using count tool under my mouse's current position, and label it multiple times (for different ...
1
vote
0answers
40 views
1
vote
0answers
27 views

Trimming Quadrilateral Into Rectangle Script

one of the time consuming process in my work flow is to correct distorted geometric shapes. This usually require wrap rectangular images into quadrilateral and then crop it back to rectangle - and we ...
0
votes
0answers
18 views

Macro Crop VS Manual Crop, Crop position out of image Size

I have been trying to crop my images using Macro. When i do it manually, Upon pressing the crop button, the Crop is positioned in the MIDDLE of the Image size which is alright for me. I'm Cropping it ...
0
votes
0answers
27 views

How to target both Photoshop and Illustrator in one script file?

I'm trying to copy a large amount of text from a Photoshop file and paste it automatically in a Illustrator file. I need to do this in repetition. I tried #target photoshop -some code- then #target ...
0
votes
0answers
58 views

How to get all colors used in a photoshop document? any script out there?

Is there any way to get all colors used in a photoshop file, I mean colors in vector elements fill's (Shapes and also strokes). I want to make a color scheme for the web based on colors used in the ...
0
votes
0answers
92 views

Photoshop Javascript to get all layers in the active document

I'm sure it should be discussed before by Photoshop scripters. I write a solution as following. I think it's logically right, but the result is not correct. Anybody can help to check where's wrong ...
0
votes
0answers
141 views

PS CS 6 auto resize text to fit box layer with data taken from data set

Hi best community in the world. I am working on a screens for localizing mobile game for a friend. I have agreed to help, but the amount of manual labour for thousands of different words was just too ...
0
votes
0answers
48 views

How to replace color in photoshop via javascript?

I have to replace one specific color to another via javascript. How can I solve this?
0
votes
0answers
29 views

Photoshop capture input

Anyone aware of a way to capture the raw input that's fed into Photoshop? The thought is for collaborative photoshopping... Everyone's input being fed into the same canvas. Maybe this already ...
0
votes
0answers
35 views

How to automate a batch of varible data jobs with Javascript?

I want to do the same thing that is mentioned here except I want to use Javascript to invoke the command. I am assuming there should be an object that handles this, and I can pass an array or object ...
0
votes
0answers
150 views

How to create text layers from array of strings in Adobe Photoshop?

I have an array or multidimensional array full of string values. I woud want to use each array key of my array as name of a layer, and their values as text to put within that layers. Is it possible to ...
0
votes
0answers
114 views

Is there a script to import & apply data sets to a PSD?

I have a .psd file which is a template for data. Layers are defined to match dataset variables. I will need to populate this template regularly with different data, so I'm looking for a script to do ...
0
votes
0answers
338 views

Adobe Photoshop XY coordinates export

I have tried to use amrok's script (given here). I'm trying to export the XY coordinates of corner points of a selection - ideally to a text file... Would you be able to help?
-1
votes
0answers
29 views

Batch replace in sequence Smart Object

For three days I have looked for a solution to my problem. I have knowledge with actions, but I can not get Photoshop to understand that I want to replace the images in sequence that are within ...