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

learn more… | top users | synonyms (1)

10
votes
5answers
49k 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 ...
8
votes
2answers
11k 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 ...
7
votes
5answers
7k views

Font Awesome as Photoshop Custom Shape Set

Everytime I need to use font awesome in photoshop, I'll always copy an icon from website and paste in photoshop. I can print it into pdf and copy into illustrator as vector but I want them as ...
7
votes
2answers
36k 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, ...
6
votes
7answers
24k views

Exporting groups of layers from a PSD to a single PNG file using Photoshop

What is the fastest way by which I can save a group of layers as a single .png file with empty spaces around the group of layers trimmed. I know I can run a script to export every single layer to a ...
5
votes
1answer
3k views

How do you create custom scripts for automation in Photoshop?

I have been recording custom actions to perform various automations, though I am starting to require greater control which would be better implemented using some form of scripting (if this can indeed ...
5
votes
4answers
7k views

Create a sprite using a sequence of images photoshop

I would like to create a horizontal image sprite for use in a jQuery animation, how would i create a sprite from 190 images in a folder (around 220kb each file) into a single horizontal sprite?
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 ...
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 ...
4
votes
1answer
47 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 ...
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 ...
4
votes
1answer
718 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
3answers
23k 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 ...
3
votes
2answers
1k views

Automation of repetitive tasks in Photoshop?

Is there a way to automate some highly repetitive tasks in Photoshop? Example 1 I have a folder of images. For each of them, and I want to import each as its own layer I'd like them to be resized ...
3
votes
3answers
33k 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 ...
3
votes
3answers
2k views

Photoshop CS6 - Get width of paragraph text in pixels by script

Is there any way to get the width of the text inside a paragraph box? The measurement would not take into account the wrapping. That is, it would equal the sum of each wrapped line. I'm not asking ...
3
votes
4answers
31k views

how to open mutliple pdf pages in photoshop

I am actually trying to save all pages in the pdf as a png image but here i can't open all pages in one time. i have read here for how to open pdf pages I have to open one by one and then i am saving ...
3
votes
2answers
382 views

How to automate some picture manipulation (define a crop and apply a crop) in photoshop?

I am currently working on a lot pictures (around 1000) and would like to automate some tasks: define a crop region that correspond to specific aspect ratio. For example if i have a width/height = ...
3
votes
3answers
35k views

How to automatically save each layer as its own png/jpeg while keeping one main layer above

We offer vinyl decals for many devices. To show what a design looks like on a device, we have to create a main layer of the device, having the place of where the skin would fit cut out for our ...
3
votes
1answer
243 views

How to assign a hotkey to “No Break”

How can I assign a hotkey to “No Break” function on Character panel? Or maybe write a script and create a custom panel? But how I access to this function is PS JS model? Character is exist in Menu ...
3
votes
2answers
550 views

How to get an Illustrator script to see the visible size of clipped art instead of the art's orginal size?

When I use an Illustrator script using visible bounds or selection size on clipped art, the script sees the original size of the clipped art as the groups's size instead of its visible (clipped) size. ...
3
votes
2answers
1k views

Photoshop: Get x/y origin of paragraph text box via Javascript

Is there any way to get the x/y position of the origin of a paragraph text box via Javascript, excluding use of the Photoshop UI? This image shows my predicament; what I need vs what the Photoshop ...
3
votes
2answers
170 views

Fit objects into certain size in Illustrator

I have 20 logos with different sizes. I would like them all to fit (maintaining proportions) into certain size – let's say limit both width and height by 100px. So that they can be later redistributed ...
3
votes
2answers
98 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 ...
3
votes
1answer
413 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
3answers
8k views

When saving as a PSD, have a PNG also saved automatically

On Photoshop CS5, I had it set up so that whenever I saved a .psd, whether it were through cmd-s or the file menu, it would also save a file as a .png with the same name. I upgraded to CS6 and now I ...
2
votes
4answers
2k views

Is it possible to flatten every layer in photoshop?

I am not trying to merge every layer and flatten the image. Instead I'm looking for a faster alternative to right-clicking every layer and converting to smart object, then rasterizing the layer. Or an ...
2
votes
4answers
649 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 ...
2
votes
1answer
346 views

Can I modify text within Photoshop files programmatically?

What I want to do is to be able to code a script which will change a text layer from a Photoshop file for another text in my script. Is there anyway this can be done? Is there any Photoshop API or ...
2
votes
1answer
82 views

Add class to layer in Photoshop

How can I simply add a class to a layer in Photoshop CS5? That class should hold properties like "fill color", "size", etc. I'm very new to scripting Photoshop so please bear with me =) Thanks!
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 ...
2
votes
3answers
1k views

Import a couple hundred images and place them side-by side in Photoshop

I am trying to create a sequence just like this: Link The issue is, my sequence is much longer: 439 frames. I have the PNG files, I just need to merge them to be side-by-side like it is in the ...
2
votes
2answers
3k views

Photoshop: Batch Fit Image x Bicublic Sharper?

1) By File -> Automate -> Fit Image..., we can fit images of any size or orientation into a particular frame size. But we cannot specify the resample method, like Bicublic Sharper. In fact we ...
2
votes
2answers
243 views

Photoshop blurring peaks (it's hard to describe in text)

I want to know how to blur something in peaks, here's a picture to help describe it: Segment C is blurred the most then B then A to create an effect like the one on the right but with blur. I was ...
2
votes
1answer
566 views

Advice on batch exporting sections of an image

I have a large PSB file (33600x19200px) and I need to write a script to export sections of this image as a series of images. What would the best approach be ? Initially I thought about scripting ...
2
votes
1answer
909 views

Photoshop: Change Text Box Position Coordinates Via Script

Here's what I'd like to do. textLayer.textItem.position[0] = 200; I would expect this to change the x-coordinate of the text box to 200px from the canvas origin. The value does not get assigned. ...
2
votes
1answer
255 views

Reverse layer positions from a layer group (batch)

Do you know how can I create batch script in Photoshop that reverses the position of all the layers inside a layer group? I have like 400 layer groups, each with 1-20 layers like this: Group 1 - ...
2
votes
2answers
58 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 ...
2
votes
1answer
126 views

How to automate setting position and dimensions to round values?

I'm trying to set the position and size of selected objects in Illustrator to whole numbers quickly. Is there an Action or Script that does that already ? If so, where can I find that ? Otherwise, ...
2
votes
1answer
175 views

How can I slim down all my bloated photoshop files at one time?

I have a massive 8 TB worth of 15 years of Photoshop Work. In recent years I have done better at organizing my photoshop layers and deleting unused layers, but is there a solution that would allow me ...
2
votes
1answer
760 views

Photoshop Batch Script for Exporting Layers with a Master Backround

I have 100 layers that I want to export with a specific master layer as the background. Any JSX scripts out there for CS6? thanks!
2
votes
1answer
145 views

Photoshop Actions Save for Web

I am making a Photoshop file with a lot of slices some for iOS, some for Android and other formats. I need to create an action that saves only certain slices to the users desktop in a folder depending ...
2
votes
1answer
1k views

Data merge and layout of photoshop files

I have a PSD where the design contains a text layer. I want to generate a version of the image for each name in a text file and lay out the results 6-up on a page for printing without any scaling or ...
2
votes
1answer
219 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
1answer
409 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 ...
2
votes
1answer
616 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 ...
1
vote
2answers
3k views

1 click undo on photoshop actions

Ive been using some Photoshop actions (not developed by me) to add a 'grunge' effect to some text (a .png), it works well but theres several levels of grunge, so i tend to try a couple out to see ...
1
vote
4answers
3k views

Script iterating through layers stops halfway

I'm trying to iterate through every layer in a document and for some reason my script only goes through the first half (13 out of 25) and then at 14 it says that the element doesn't exist. Could you ...
1
vote
4answers
506 views

Combinations and Permutations of Photoshop Layers?

This one is a big one I have a Photoshop document that has 8 Layers in it. I need to create a way to use those 8 layers and create certain combinations depending on the rules below... Example: ...
1
vote
1answer
3k views

Export each folder as a jpg (or other) in Photoshop

Ive got about 15 folders (groups) in a .psd file each folder has multiple layers, together each folder makes one retouched and editted image, im aware of the export layers to files script, but is ...