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

learn more… | top users | synonyms (1)

3
votes
2answers
41 views

How to change colour across multiple layers in Photoshop CS6

I've seen this type of question asked before, but I've not seen a satisfactory answer: I have a specific colour palette, and I can not stray from it at all; I have a specific green (32,144,24) on 93 ...
1
vote
2answers
40 views

How can I get the boundaries (width & height) of the current clipboard image?

To reproduce what I'm looking to do with scripting (JSX) in Photoshop: Select part of image with transperant background (no background layer) Copy File -> New *1 Paste *1 - Photoshop will ...
1
vote
2answers
171 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
125 views

Is there a way to merge layers with the same name inside a photoshop document?

I have a bunch of psd files with exact same layer stack in each. They contain different information, but the layer position in the stack, naming, blending modes are exactly the same in everyone of ...
4
votes
1answer
675 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 ...
3
votes
1answer
334 views

How to export slices to PSD in Photoshop CS5

I have a big PSD file with many slices, and I would like to have all those slices in new separate PSD files. Is there a way to export a slice to a PSD ? And automate this action using a script/action ...
2
votes
1answer
480 views

Photoshop Scripting: batch replace colors

I'm trying to write a script that will replace the colors of all same-colored shapes, including those on non-visible layers. I am new to Photoshop scripting, but I imagine the pseudocode would work ...
2
votes
1answer
373 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 ...
1
vote
1answer
49 views

Applying scripts to skip repetitive steps (Photoshop)

I am currently working on an image (wallpaper for personal use) based on lowpoly graphics. When creating the lowpoly part, I have created several triangular shapes, covering the part I wish to ...
1
vote
1answer
146 views

Automate Export to Layers without overwriting

Here is the problem. I have a folder of PNGs. For each PNG, I want to create multiple PNGs with different styles applied to them. My approach was to create an action which creates multiple layers for ...
0
votes
1answer
58 views

Is there any way to identify clipping masks using JavaScript? PS CS5

I'm writing a script that looks for layers with a certain name in a document, and I need it to then check if it has any clipping masks applied to it, and select them all, so that I can merge and ...
0
votes
1answer
91 views

Can a photoshop action or script load/save swatch, and choose color from it

I was wondering if it is possible for a photoshop action to choose foreground or background color from the swatch. I have tried doing it, but instead of picking from swatch it is always taking a ...
1
vote
0answers
26 views

External Data Input PSCS6 with text changes

Basically Im a small time graphic designer trying to simplify some small tasks that will be constantly pop up. My objective is to automate Twitter banners where the user can input their Name 'Alias' ...
1
vote
0answers
83 views

How to align hand-held 5 shot bracketing with Photoshop and overwrite each file so that metadata stays correct?

Idea is to align with Photoshop and combine to HDR with Photomatix.
1
vote
0answers
66 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
10 views

How to Batch Export Background Layer in PS or Bridge

I have thousands of tif files that all have different adjustment layers, but all have a background layer in the document. Sometimes the background layer visibility is turned on, sometimes it isn't. ...
0
votes
0answers
33 views

Pause/Stop PS Action and Resume Later

Is it possible to stop/pause a Photoshop Action and resume where it left off at a later time? I have an action that adds padding to images and running it to a batch of 50,000 images. Obviously this ...
0
votes
0answers
37 views

How to change the color of one letter from a variable

I am trying to make a number of similar images from a text variable. I want one letter of this variable to be a different color in the final image. The problem is the text can vary slightly in length, ...
0
votes
0answers
38 views

Automating export layers by layer name

I am wanting to automate my exporting process. AS soon as I found a good way to export multiple icon sizes adobe went and removed "Extract Assets" so now I need a good way to do this. My Current way: ...
0
votes
0answers
67 views

PS Script: How to get color of the Rectangle Shape and Fill Layer

I have some layers in my document, one of them is Fill Layer and others are rectangles. I want to read colors of this layers and put them to an array. I can access layers with ...
0
votes
0answers
49 views

is there any script to rename the already existed smart object with the name of its mother file

for eg: box1.psd have (red colored) "ball" smart object and "cat" layer box2.psd have (yellow colored)"ball" smart object and "dog" layer box3.psd have (green colored) "ball" smart object and ...
0
votes
0answers
102 views

Illustrator: Export layer combinations with a script

How to script exporting of several file/layer/layer combinations? For example in multilingual manuals. If there are of ai files of similar structure layered like this: [n+3) ...
0
votes
0answers
59 views

Centering Text in script in photoshop

How can you center text in a script? I have tried to get it's bounds, use PARAGRAPHTEXT and use the width and height but nothing works well. I've also tried to make the text centered using ...
0
votes
0answers
39 views

Easy way to automatically shift layers when adding new images to a catalogue?

I need an easy way in which to edit a catalogue. I'm working on creating a catalogue for a client that'll have all their products. The problem is, I need a way in which this catalogue will be easy to ...
0
votes
0answers
136 views

Fit artboard to selected art scripting command in Illustrator CS5 crashes illustrator

I am trying to automate a process that requires me to resize the artboard. I am using AppleScript and planned on transforming the size of the image (already have this done) and then calling the ...
0
votes
0answers
34 views

Photshop - can Vanishing point filter be saved in action?

I need to paste multiple pictures (.jpg) in the same vanishing point filter grid one at the time, then export the result, one by one. I would like to save everything I do inside vanishing point filter ...
0
votes
0answers
151 views

How to create a Photoshop Action for a tool with user input

I'm using Photoshop CC. I'm using the Edit > Perspective Warp tool for a lot of images on a big project. Basically I need an action/script that grab the tool then let me manipulate the points then ...
0
votes
0answers
85 views

automate assembling multiple tiles back into the original big picture

I have multiple, 1024 jpeg tile images that are effectively tiles of a one big image which was split into a matrix of 32×32 smaller ones (each 256×256px). I wonder how could I efficiently put them ...
0
votes
0answers
53 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
126 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
310 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
77 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
504 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?