Questions tagged [photoshop-scripting]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
90 views

How to batch fix background artifacts using actions?

I have almost 700 small images of glyphs which are anti-aliased black on white backgrounds. All the files have excess whitespace and I wanted to use the trim function in Photoshop to batch resize all ...
1
vote
1answer
230 views

New Folder with Selected Files in Adobe Bridge

I have hundreds of images in a folder in bridge. I have tagged them alternatively by colour. The first bunch as Yellow, the second as Blue the third as Yellow again and so forth. I want to copy each ...
0
votes
1answer
341 views

ScriptUI panel resizing issue

I'm working on a script that receives a bunch of input from the user to change certain text fields around the document. Given the amount of input I want the user able to change in a single run of the ...
0
votes
1answer
30 views

How can you convert a gradient to this scan-line style?

Is there any reliable way to programatically process a grayscale gradient and end up with this lo-fi gradient style? I don't know the exact name of this style, but it's used frequently in logo design ...
2
votes
3answers
8k views

Replacing a smart object in bulk with Photoshop's variable data or scripts

Is there a way to automate the replacement of a Smart Image with a different graphic? For example, if I have a master image of a mug, and a large number of flat rectangular images/designs I'd like on ...
0
votes
2answers
369 views

Make layer from layer mask

I want to create layer from layer mask, like in this gif: And i need to do this from script. Is that possible?
6
votes
2answers
1k views

Ending a Photoshop 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
1k views

Photoshop action: how to make a crop (menu item) in an action without deleting pixels? Editing the atn file?

I am working on a workflow to make an auto crop. I have an action set up with an automatic selection (magic wand), a little expansion of this selection and a crop to this selection. To make a crop ...
1
vote
2answers
806 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
2answers
595 views

ScriptUI Photoshop Palettes

I'm working on a photoshop script that contains a GUI for collecting information. This is my first time using Script UI and I'm running into 2 issues that I'm not sure how to address. Issue 1, the ...
1
vote
2answers
128 views

Edit layer property when another layer is activated

I successfully created my first fitness sleeveless t-shirt mockup using Photoshop CC. This is the result so far: It's my first mockup ever and I'm pretty satisfied with this result. There is an ...
0
votes
2answers
315 views

Batch replace placeholder image with a perspective warp?

My goal is to be able to batch create a highly scaleable number of "product impression/example" images. What I have is a Photoshop document, which will serve as a template, with 3 layers (ordered ...
1
vote
1answer
1k views

How can I extract all text content from Photoshop with all associated styles for backgrounds? (see example inside)

I have provided a lot of PSDs with lots of content to a coder. There were 50+ PSD and it took a team of 4 people 2 months to build them. Furthermore, the content was in Spanish and the coder doesn't ...
0
votes
0answers
26 views

How to add an image from local machine to already existing layer on photoshop using javascript photoshop scripting?

I have an existing design and layers on photoshop and I want to add an image from my local machine to one of those layers and I don't know how to do it using a script on javascript? please any help on ...
0
votes
2answers
474 views

Rotate all layers in a group

How would I go about referencing a group of layers in a script if I wanted to perform a rotation on all of them as a group, not individually? Essentially I want to rotate all my layers in the group ...
0
votes
1answer
141 views

Photoshop Scripting - applying changes only to selected artboards

Having trouble specifically with artboards for Photoshop scripting. What I want it to do: I have a photoshop file with 8 artboards, and I want to apply changes (name changes) to the selected ...
1
vote
1answer
2k views

How to export groups to separate PDF files in Adobe Photoshop?

I have 180 groups (see image for example), each group is a different label design. I need to export each group as an individual PDF file. What is the best way to achieve this? I know how to export ...
0
votes
1answer
58 views

How to add a layer style effect especially on a highlighted text?

How can I add an effect on a highlighted text, such as border and other stuff that can be found in Layer styles > Blending options? Example: I have this text right here: https://i.imgur.com/TSTrNFV....
2
votes
1answer
2k views

Trouble with .csv File & Variables

Long time lurker, first time poster. I've been having trouble since updating to macOS High Sierra when using Variables. I save the Excel file as a .csv but when I go to import it into Photoshop, it ...
0
votes
1answer
74 views

One file with multiple linked files to one photoshop file

I would like to create one psd file that has multiple layers containing a different piece of artwork, that is linked to another psd file containing multiple layers and each of those layers is linked ...
4
votes
4answers
12k 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
1answer
86 views

Read options from tool preset and swatches in ExtendScript for Photoshop

In ExtendScript for Photoshop is there a way to read the swatches like name-color and the configuration of a text tool preset? I want to detect the color from some rectangles in the image, get the ...
0
votes
0answers
21 views

How to create type area the size of the selection for Photoshop action

Problem: I can make text area sized by the selection size by converting the selection to work path and making text area out of it. However, when recording action, it will just record the specific size ...
0
votes
1answer
68 views

“File layers” for Photoshop

Does Photoshop have "file layers" like Krita does, i.e. layers whose content automatically updates from a file when that file changes? If not natively, maybe a Photoshop script can get ...
0
votes
1answer
165 views

How to save multiple files 300ppi in photoshop?

I am using Photoshop and I want to save multiple files at once like in export layers to files, my files are 326ppi and when I export'em all at once I get them with 72ppi (I know it's the screen ...
0
votes
0answers
29 views

Automation for Batch-Converting Images for Ecomm - must have square canvas - Ug

First time here and hope this is a good place to ask. Looking for a quick way/automation to convert multiple print quality images (30-70MB) to 1000x1000 pixels at 300 dpi and under 3 MB for use in web ...
0
votes
0answers
117 views

How to make a pixel perfect adjustable outlined circle in Photoshop and also Illustrator, like, the one that Microsoft Paint has, as example?

How to make a pixel perfect adjustable outlined circle (with a simple tool so the circle can be readjusted and newly calculated later) in Photoshop and also Illustrator, like, the one that Microsoft ...
0
votes
0answers
37 views

Automatically apply external script whenever image changes

While editing an image (i.e. while there's a new version of it every few seconds), I would like to continuously see what the newest version would look like after running an external script on it (for ...
0
votes
1answer
64 views

Photoshop auto-save as PNG

How can I make Photoshop automatically save the image as PNG in the background whenever I make any changes in Photoshop (brush strokes etc.)?
0
votes
0answers
40 views

Make an own adjustment layer in Photoshop

How can I program my own adjustment layer (i.e. non-destructive editing step) in Photoshop? For example in order to run dithering by ImageMagick as a non-destructive editing step within the stack of ...
0
votes
2answers
35 views

Is there an automated way to replace several layers with a template layer in Photoshop?

I have a file where there are several "cards" that will be containing text information. All of these cards are exactly the same but have been aligned differently. Unfortunately, I have to ...
3
votes
3answers
1k 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. ...
0
votes
0answers
39 views

Files from Adobe Bridge to Separate Folders

Asking this again. I still haven't found a solution to this. I have hundreds of images in a folder in bridge. I have tagged them alternatively by colour. The first bunch as Green, the second as Red ...
1
vote
1answer
38 views

Saving Batch Files With Slight Hue Adjustments in Photoshop

I have a file with several layers that need to be created with very minor differences in hue and saved. I've created this example for simplicity. I have 2 layers 1 with a red circle, and 1 with a ...
1
vote
1answer
84 views

Draw a horizontal line with just a click using Adobe Photoshop

I am looking to find a way to draw a horizontal line of full page width on a PNG file with a single click. Thing is I am trying to draw a lot of lines and if I've to click and drag it becomes ...
6
votes
4answers
114k 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
259 views

Make 15 lines / ticks with Photoshop, each of them rotated of 20°

I would like to draw a few short lines, each of them rotated from the previous one of 20°, to do a knob graduation (here only 9 ticks). How to do this in Photoshop?
0
votes
0answers
38 views

How are these this feathered/blurred edges artistic effect made in these graphic illustrations? Scripts? Overlay? [duplicate]

It's been a few years since I've wanted to re-create analog-painterly appearance for a while now and I have yet to find a solution. Speculatively thinking, assuming they may possibly have used some ...
1
vote
0answers
40 views

How can I set up an action to bulk pattern fill that selects the next pattern in the folder automatically?

I tend to work with patterns and have an action to help with this. But, I tend to save my patterns as a .pat file, with anywhere from 10-200 patterns within each .pat file. I am trying to figure out a ...
3
votes
1answer
111 views

Is it possible to automate this grid pattern in Photoshop?

This is a grid pattern created in my country in the sixties, taking binary values for lights and shadows. I couldn't find this anywhere else, or maybe I'm not using the proper words for it. The ...
0
votes
0answers
26 views

Automate splitting of layers (based on Guides…or slice)

Hey guys, I want to use gimp or Photoshop to crop an image into pieces on average. Is there an efficient and fast way? Is there an automated way to split a layer into multiple layers based on the ...
1
vote
1answer
592 views

Multiple Panorama Automation in Photoshop

My workflow contains creating multiple panoramas in Photoshop one by one. I have multiple folders, each with jpegs that have to be combined into a panorama and saved with a PSD extention. Photoshop ...
0
votes
2answers
42 views

How do I set the coordinates of a text box in a script?

I am creating a script that will place a text box. I want to place the text box in the upper left corner, or (0,0). When I set the position of the text box to (0,0) in the script the text box is ...
1
vote
1answer
957 views

How to Batch Export All Directory Contents to PNG-8, Overwriting Existing Files?

Based on some preliminary manual testing, I've found that exporting as png-8 as one might expect provides significant file size reduction. One of my test images went from 58.8 kb to 10.7 kb. With a ...
0
votes
0answers
42 views

replace multiple smart layers at every export

Can anyone suggest me a Photoshop extension: That can replace multiple smart layers at every export and can auto-fit the new image to the original dimension of the replaced smart layer so there is no ...
-1
votes
2answers
1k views

How to change Photoshop canvas orientation?

How do I change a canvas orientation from landscape to portrait and vice versa? For instance: There is an option with artboard/page (in AI and PS / ID) to change the orientation, but what I want to ...
0
votes
0answers
50 views

Use prominent color of the logo as foreground color and apply it

I want to select the dominant or prominent color of the logo and use it as a foreground color and apply it in an object and save it. Can it be scripted and automate?
0
votes
0answers
49 views

Scriptlistener Plugin : Catch layers transformation value

I'm making a plugin called PS-Blender where I'm trying to simulate the functionality of Illustrator's blend tool. I've used different text field to measure out the start and end values of positions ...
5
votes
2answers
1k views

How to batch rotate image to make them all landscape?

I have a thousand of pictures of the same fixed scene, but for an unknown reason some of them are vertical, not horizontal. So I would like to batch process all the images and rotate them 90° if the ...
8
votes
2answers
5k 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
2 3 4 5 6