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

learn more… | top users | synonyms (1)

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
0answers
24 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
votes
0answers
30 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 ...
-1
votes
1answer
32 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
2answers
153 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 ...
1
vote
1answer
247 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
134 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
4
votes
1answer
626 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
2answers
85 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
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) ...
0
votes
1answer
35 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
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 ...
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 ...
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 ...
3
votes
4answers
17k 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
13k 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
48 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
79 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
87 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
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 ...
1
vote
0answers
28 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
93 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
45 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 ...
2
votes
1answer
164 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 ...
0
votes
1answer
71 views

Action or script for saving files in Photoshop using text from clipboard as the file name

I make images for an online retail site and I've made several actions to make it go faster. I have an action that automatically saves multiple files for web using generic filenames such as ...
0
votes
0answers
59 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 ...
2
votes
3answers
544 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 ...
0
votes
2answers
9k 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
2answers
3k 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 ...
5
votes
1answer
2k 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 ...
2
votes
1answer
63 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, ...
0
votes
1answer
343 views

how to use jsx script in adobe Photoshop

I found this piece of script offer by a solution on exactly what I try to do here. But I have no idea and can find no related info about this jsx script. I wonder where should I put it or use it in ...
0
votes
0answers
94 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 ...
1
vote
4answers
7k 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 ...
2
votes
1answer
484 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!
3
votes
1answer
139 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 ...
1
vote
2answers
3k 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
1answer
72 views

Photoshop plugin to change hue/sat/val by holding a key and dragging mouse?

I'm a beginner digital painter and am looking for ways to make my process more fluid. Ideally I'd like a plugin that lets me change: Hue Saturation Brightness Brush size Brush opacity Brush ...
1
vote
1answer
447 views

Photoshop scripting. Get image dimensions to clipboard

Often I save lots of versions of the same image with different dimensions so I usually include them in filename. It pisses me off to go and check dimensions for every document before saving it so I'd ...
0
votes
0answers
142 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 ...
4
votes
1answer
396 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 ...
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 ...
1
vote
1answer
52 views

Photoshop Script change each successive image

I have a script that batch processes images, adding a radial blur on the blue channel. What I want to do is change the radial blur's origin or centre point in each successive image. Is there a way of ...
2
votes
1answer
113 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 ...
0
votes
3answers
1k views

why does photoshop auto-rotate images when opening?

I am using scripting in Photoshop to process jpg files that are uploaded through a website. I occasionally get images that are rotated differently when you open them in Photoshop vs. Windows Previewer ...
0
votes
0answers
18 views

Put promotional watermark on ebay image [duplicate]

I am looking for a Mac tool or use of code to watermark some images like seen on the display image here - ...
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
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 ...