Questions about the automation and extending of functionality through the use of scripts within Adobe Photoshop.

learn more… | top users | synonyms (1)

0
votes
1answer
6 views

Photoshop ico files and mass exporting issues

I'm using http://telegraphics.com.au/sw/ 's ico plugin to easily load ico files in photoshop(vs converting to png first)... This made it easier to use ico files. I have a custom .NET exporting ...
4
votes
2answers
125 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
1answer
108 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 ...
2
votes
1answer
668 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 ...
0
votes
1answer
126 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 ...
4
votes
1answer
440 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 ...
1
vote
2answers
212 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
1answer
38 views

Actions in Photoshop

I recorder action sequence and toggle dialog window ON on file savings to change a saving file folder. And every time I saving .jpg file it add a "copy" word at the end of file name. How to prevent ...
1
vote
2answers
72 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 ...
2
votes
1answer
196 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
2answers
208 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 ...
2
votes
1answer
418 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
131 views

Photoshop batch/mass save for web

This is a variation on a number of previous questions, but I seem to have a unique situation. I have a photoshop file. It has many layer groups, each forming a distinct and complete image to be ...
0
votes
1answer
22 views

Error in Drawing a path using Photoshop scripting

I am using the following script for drawing a set of paths onto a photoshop image. var docRef= app.activeDocument; app.displayDialogs = DialogModes.NO; var currentRulerUnits = ...
0
votes
1answer
20 views

Photoshop Actions Panel Stop Without Message

I can insert a stop action using the Actions Panel dropdown > "Insert Stop" command. During playback, a popup is displayed with an optional message and a "stop" button. How do I stop an action without ...
-1
votes
1answer
30 views

Add a conditional line to existing script

I've got this script from an earlier question and answer (specific resize layer action) Many thanks to SQW! (function (){ var startRulerUnits = app.preferences.rulerUnits; ...
-1
votes
1answer
67 views

How to save layers in a group as one image in photoshop?

I am dealing with large number of layers in photoshop. How can I save multiple layers of a group as a single image in a batch process?
3
votes
3answers
35k views

How to export layers to pages of a pdf file in Photoshop CS5

I need to save each layer of my psd document as a page in a multi-page PDF file (or as a single-page PDF file each as I can combine them later). File->save as->PDF works for 1 layer at a time, but I ...
1
vote
1answer
37 views

Can I add 'Export As' to an action script?

Could somebody explain how I can add 'Export As' as an action script in Photoshop CC 2015? I just want to automate saving icons to svg.
1
vote
2answers
112 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 ...
1
vote
1answer
78 views

Place images into photoshop without confirmation prompt?

I drag and drop like 50 images into some opened psd. To complete this i have to confirm a transformation 50 times (press enter or click the checkmark). Any way to skip this step and make it apply ...
0
votes
1answer
57 views

Action to crop a photo with user input. The batch processing

I'm stumped. All I need to do is open my photo, have the action stop to wait for me to decide where the crop should be (to center the important part of the photo), then close that photo so the batch ...
4
votes
1answer
49 views

Curves automation in Adobe Photophop (CS 6)

I have some microscopy photographs with different exposures. The grayscale images will be used for comparison next to each other. Currently, to 'normalize' the differences in the pictures I tweak the ...
0
votes
0answers
37 views

Photoshop CS6 Scripting - Manipulate Transform Reference Point

When scripting the Photoshop CS6 Transform, you can set the center to rotate or scale around a point by specifying the AnchorPosition enum, such as AnchorPosition.BOTTOMCENTER for the bottom center, ...
11
votes
5answers
51k views

How to center text vertically within a textbox in Photoshop

It's pretty annoying that you can't center text vertically in Ps automatically, like you can in Indd. It's even more annoying that the bounding box of text can't be 'collapsed' or 'fit to text', like ...
-1
votes
1answer
66 views

Is there any way to record and play mouse click in Photoshop?

I'm trying to record a jsx using Photoshop scriptlistener plugin. Is there any way by which I can record the mouse click and play it again using scripting? I'm using the latest version of Photoshop.
1
vote
2answers
4k views

Export layers to files script not working

I'm trying to export certain visible layers to png in photoshop cs5 using the "export layers to files" script, but all it does is make a copy of the psd in a new tab and freeze. I tried in cs4 and ...
0
votes
1answer
36 views

How to work on multiple canvas sizes non-destructively

I am working on a UI project that requires multiple scales. Essentially I want to work at a high resolution(the original) but I need to be able to export the different widgets all at the same lower ...
5
votes
2answers
2k views

Can I automate saving different combinations of layers?

I have a source file for an icon. It has a base layer which is the icon background, and a number of layer folders, each of which contains layers for each individual icon. There are 20 or so of these ...
0
votes
2answers
180 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) ...
1
vote
1answer
120 views

Coordinates of dots on screen

Ok so I have a picture of a map with little dots for each city on the map, and I want to find the coordinates of each dot. The only way I've been able to think of was using the "info" panel on ...
0
votes
0answers
16 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. ...
4
votes
5answers
13k views

How can I include a Photoshop file inside another Photoshop file?

If one was designing a website where they laid out each page mock as a separate photoshop file but each one had the common elements of the site such as the header and footer, but also could have ...
0
votes
1answer
52 views

Export all layers to png in Photoshop including those outside of the canvas area

I am using the script inbuilt in photoshop, but if some of my layers work are outside canvas, it trims those to the visible area only. But we need everything in the layer in png, whether is was ...
2
votes
1answer
52 views

How to copy data to the clipboard from the info panel?

For example: I am wanting to copy some data from the info panel, preferably x, y, width and height to my clipboard. Is this possible within Photoshop? The reason I ask is because I have hundreds of ...
0
votes
0answers
51 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 ...
2
votes
1answer
241 views

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

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 ...
2
votes
2answers
61 views

Changing layer colours across multiple Photoshop documents

I'm designing an app, and when I designed the screens, over 40 of them, I did it in the clients colours. We've now settled on a new colour scheme, and I need to replace old colours with new ones. Is ...
0
votes
0answers
46 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
49 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: ...
3
votes
3answers
24k views

Open a Photoshop document layer in a new File quickly?

My First Question here, I have a lot of PSD's to work on in which my main job is to: Copy a layer/layers Make a new Document place/drag them into the new document Trim the image to size Save as a ...
0
votes
2answers
1k 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
vote
1answer
775 views

Export image sequence by moving layer in Photoshop

I want to export a simple animation for a rolling background. I need to move one layer to the left x pixels, then export as "frame*.png" and repeat. (Where * is the number of the frame. I need to ...
0
votes
0answers
110 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 ...
-1
votes
1answer
132 views

Photoshop: Batch “Wireframe” Filter

I need to "wireframe" multiple image, over 10,000 and I am looking for the most efficient way to do this. I was thinking of a wireframe filter/effect in PS that will allow me to accomplish this task ...
7
votes
2answers
38k views

How to export/import a Photoshop action from one Windows computer to another?

I switched computers and I need a Photoshop action I used on the previous computer. None of the instructions I found online helped so far. :( I call the action on the old computer (Windows 7, ...
0
votes
0answers
94 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
139 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) ...
1
vote
0answers
27 views

How to automatically create 500 images with increasing numbers in Photoshop? [duplicate]

I want to create 500 images which all have the same size and background color but show a different number (increasing from 1 to 500). So the output should look like this: ... Now I don't want ...
4
votes
1answer
1k 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 ...