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

learn more… | top users | synonyms (1)

0
votes
0answers
39 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
25 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
857 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 ...
1
vote
0answers
15 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' ...
2
votes
4answers
289 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 ...
0
votes
1answer
16 views

Split elements from one layer into multiple layers [closed]

I have a .psd file with a lot of assets (icons, logos, etc) in a single layer. Is there any automatic way of splitting these elements into separate layers?
2
votes
1answer
212 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
2answers
149 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) ...
2
votes
1answer
112 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 ...
0
votes
1answer
40 views

Script to assign a Pantone color to a channel in photoshop

I have a Pantone color, say "PANTONE 3135 C", and I would like to assign it to a channel in Photoshop (CC 2015, with ExtendScript 4.5.5, Toolikt CC 4.0.0.1) using JavaScript/ExtendScript. To do this ...
1
vote
2answers
108 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
21 views

Photoshop CC: How do I set distance between two objects (for Actions)

I've got a ton of objects I'd like to set spacing between (vert & horizontal) in PS CC. I'd like to be able to select two objects and automatically set spacing between them relative to each other ...
0
votes
0answers
35 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 ...
1
vote
1answer
74 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
27 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
320 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 ...
6
votes
4answers
32k 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 ...
0
votes
2answers
490 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
3answers
11k 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 ...
1
vote
4answers
2k 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 ...
0
votes
1answer
46 views

How to make PDF characters darker for print without using photoshop?

I am a researcher and I have to read research papers. Unfortunately, the characters are not dark enough, so the papers are hard to read when printed on the paper. Note that the printer's cartridge has ...
0
votes
1answer
1k views

Can I stop Photoshop from asking for interlaced option when saving a PNG format?

I never want my PNGs to be interlaced. So I wish I could set a bunch of option defaults in the application so that I am saving time when outputting a lot of images as PNG over the course of a day ...
6
votes
7answers
20k 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 ...
0
votes
0answers
31 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 ...
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 ...
0
votes
0answers
38 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 ...
2
votes
3answers
6k 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 ...
0
votes
0answers
24 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 ...
1
vote
2answers
190 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 ...
3
votes
0answers
177 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 ...
0
votes
0answers
73 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 ...
7
votes
5answers
6k 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 ...
2
votes
3answers
17k 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 ...
0
votes
0answers
61 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
13 views

How to create 3D Box designs with User-Generated Dimensions? [duplicate]

I'm trying to learn how to make 3D Box Images in Photoshop. I need this for box designs of different sizes, and so I found this tutorial that makes it easy to create with the use of Photoshop Actions. ...
5
votes
1answer
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 ...
1
vote
1answer
91 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 ...
0
votes
1answer
135 views

Keep background layer when cropping (script)

I know that if you choose "Delete Cropped Pixels" in the crop tool, that it will preserve the background layer, as a background layer. However, I wished that I could still maintain this function when ...
0
votes
0answers
35 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 ...
6
votes
2answers
8k 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 ...
3
votes
4answers
22k 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 ...
2
votes
2answers
22k 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
1answer
64 views

Is there a way to get a text value from the user in a Photoshop script?

I'm using a JSX script to export an image to different sizes in Photoshop and I would like to get a value from the user such as to let them type in the file name. I would really like to show a dialog ...
-2
votes
1answer
182 views

How can I get working the script “export photoshop layer to svg” (from HackingUI)?

I tried this photoshop script from Hacking UI and couldn't get it working. My layer are all named with .svg at the end as required. They are all vector content and shapes are closed as required. I ...
3
votes
2answers
126 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 ...
0
votes
0answers
70 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 ...
1
vote
0answers
53 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 ...
2
votes
1answer
131 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 ...
1
vote
1answer
148 views

How to make visual interface in photoshop script?

I'm wondering how to build visual interface for users using Adobe ExtendScript Toolkit. What I mean is like Windows Forms application in Visual Studio, where we can have textbox, checkbox etc so that ...