Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [photoshop-scripting]

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

0
votes
0answers
14 views

Automating replacement of smart objects across multiple psd files

Here's my problem: I have a large number of psd mockups with one smart object layer and an even larger number of images that i want to place inside the smart object layer each time. Right now i am ...
-4
votes
0answers
23 views

Photoshop script to fill selections with a letter [on hold]

I want to fill each selection with a specific letter, just like the below image. I'm told that a script is needed to automate this task. Please help me with this since I don't have a clue about ...
0
votes
2answers
24 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?
0
votes
1answer
33 views

Weird Script UI bug

I'm working on a script with a dialog box in photoshop. The goal is to get an End Date and Time for multiple banners. My Cancel button works fine, but my Ok button produces a weird bug. The window ...
0
votes
0answers
12 views

Redux: Auto-link phone numbers in a pdf file

This question was asked several years ago but didn't give a definitive answer. I'd like to know if there's a way to auto-link phone numbers in a PDF file using Acrobat X Pro or Acrobat Pro 2017 (both ...
1
vote
0answers
55 views

Photoshop glitched, but I liked it, and now want to script it

I was trying to File → Place Embedded this Youtube video screen shot into a Photoshop file and it kept glitching, each time differently. Here are two examples of what it looked like. This is a whole ...
0
votes
0answers
23 views

Apply previous Camera Raw Filter to smart object using Photoshop script

I have a script where part of it applies the last filter that was used (the Camera Raw Filter in this case). It works fine when I apply it to the Background layer, but if I add a line of code to turn ...
0
votes
1answer
53 views

Scripting 1-line vs 2-line text boxes

I will try to ask this question as best I can, but the problem is a challenging one. I have a text box that one part of my script will change the text in. I want to code a boolean variable to check ...
1
vote
1answer
99 views

Photoshop Automation: Place Logo in corner of image which has the most 'empty space'

I would like to automate the following process: place a logo on a large number of images I have. The logo should be placed in one of the four corners of the image (bottom left, top left, bottom right ...
0
votes
0answers
23 views

Choosing Multiple Layer Comps by Type (Not Manually One by one)

So, I've a girl image psd. 8 different color layers for her hair 8 color layers for her eyes 8 different colors for her elips color So using variations of these layers I have created quite a lot ...
0
votes
2answers
60 views

Using Photoshop to slice a raster image of text questions into individual images

Does anybody know of a place I could look into information about a script that could slice a flat, rasterized image into individual images for each block of text? I have hundreds of pages. I am ...
0
votes
2answers
82 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 ...
0
votes
1answer
58 views

Trying to plot a sine wave using Javascript in a Photoshop Script

I have to create this sine wave inside a layer on an image I already have. The image is 600 dpi, 10x10cm and I have a new layer created at the top that is selected. The image is CMYK. I have to run ...
-2
votes
1answer
88 views

Replacing a smart object in bulk with Photoshop script; Editing script for more than one smart object

I found the following code and it works very well for most Photoshop files I have tried, but the file I want to use it with has 2 Smart Objects, one nested in the other. See attached images. Is it ...
0
votes
0answers
54 views

How to batch crop an image and create multiple sizes (with Photoshop)?

Is it possible to crop images similar to Danielillos solution for resizing to specific dimensions with the center of the source image as the anchor?
0
votes
0answers
16 views

“hard code” a specific folder into “Load Files Into Stack?”

I'm trying to create an action that runs "Load Files Into Stack" on the exact same output folder (contents generated by another program) every time without requiring user input. Is this possible?
1
vote
1answer
172 views

How to batch resize an image and create multiple sizes (with Photoshop)?

I want to batch resize an image in multiple sizes with Photoshop. The sizes are most of the time the same so I would like to have profiles for a set of fixed sizes. Ideally I just need to open my ...
1
vote
1answer
59 views

Load Action Script Photoshop CS4

Sorry for my English. I'd like to load an action to photoshop cs4 with JavaScript but nowhere can I find this function. This function doesn't work: app.loadAction( new File( 'E:/Folder/Actions/My-...
1
vote
1answer
80 views

Scripting Artboard Export with specific bit depths

I'm working on setting up a reusable template for some PNG avatars. Unfortunately, the different avatars have specific export requirements. Currently I'm using Save for Web to achieve these specific ...
0
votes
1answer
25 views

Photoshop animation with Fuse: batch saving for different frames and options

Is there a way to make a batch-script for automate saving (in .png files) each frame of the animation (Fuse character in Photoshop) with different character options, for example head location (as ...
0
votes
2answers
42 views

Photoshop animation: How to render each layer to seperate file at once?

Is there a way to render each separate layer in Photoshop to separate file? I have a character from Fuse and I want to render it in X positions. I don't want to click 'render' for every new layer, of ...
1
vote
2answers
51 views

How to extract the current settings for any Photoshop tool via ExtendScript or ActionScript?

I'm looking to find the settings for various options for different tools in Photoshop. This post hinted at the answer: https://graphicdesign.stackexchange.com/a/113421 It said: To get a current ...
0
votes
2answers
77 views

Automation of image alignment by detecting bounding box?

I'm often having to align and crop product images on a white back drop and it occurred to me this would be a simple task for a script of some sort. I can think of a way to code this as an after ...
1
vote
1answer
305 views

Resizing a square image to a rectangle with a fixed aspect ratio [duplicate]

I have a very large batch of images that I need to resize. I am new to Photoshop (have used Elements for years) and I am unsure how to do this. Basically, all the images are currently 2000 x 2000. ...
0
votes
2answers
113 views

How do I set eyedropper settings using Photoshop ExtendScript (Javascript)?

Is there a way to set Photoshop's eyedropper settings (sample size, sample, show sample ring) in a script? Or, failing that, use the script to find out what the current settings are? Thanks.
0
votes
0answers
22 views

Photoshop Macro to initially align images then separate differences into a new layer

I'm trying to find a way to automate a process I need to do a number of times (a couple hundred at least). The process starts with two images: (Original) Perfectly flat, set to true color, cropped ...
0
votes
1answer
49 views

In photoshop how can you fill each selection with its own individual gradient automatically?

Basically, this is an oversimplified illustration that shows exactly what I want. Instead of me selecting each patch individually then apply the gradient I can just use select > color range or magic ...
0
votes
2answers
161 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
87 views

Embed colour profile when saving as JPG via script

I have the following script that saves a copy of my current document as a JPG to the desktop, however I cannot get it to embed the colour profile. Does anyone know how to do that? var JPGquality = 12;...
0
votes
0answers
51 views

Creating unique watermarks

I'm experimenting with creating unique watermarks for a large set of images. Each image will have the same watermark but with tiny variations. I'm new to Photoshop scripting and would like to know ...
0
votes
2answers
83 views

Saving smallest JPG possible with Photoshop

I wanted to know what the best way to save a JPG to be very small and still keep its quality as much as possible. I have 1200x1200 psd files that when I save them while keeping quality the jpg is ...
0
votes
0answers
22 views

extract src and dest coordinates after warpping in adobe photoshop

any way (plugin, extended script, etc,.) to extract src and dest coordinates after warpping? here is a very simple example: we'll puppet warp the photo, and the we'd like to extract the coordinates ...
1
vote
0answers
85 views

Artboard renaming issue

I'm working on a script for my team that will allow them to batch rename artboards in Photoshop. We use the following naming convention for our artboards: "ProjectTitle_BannerType_WidthxHeight_LG" ...
0
votes
0answers
19 views

Detecting 3D objects by object name in Photoshop CC with .js

I am attempting to create a function that detects active 3D objects contained within a Photoshop layer by their name. Even with the a script listener, there is no output when I make a 3D object ...
0
votes
1answer
372 views

Replace smart object content without Photoshop

I am looking for a way to bulk replace smart object content without using Photoshop. My goal is to create nice poster mockups for hundreds of posters automatically. So I have a PSD file containing ...
2
votes
0answers
32 views

Save specific combination of layers as PNG [duplicate]

Unfortunately I don't have any experience yet with PS scripts, so I would highly appreciate your help. I'm looking for a way to export a specific combination of layers to a PNG. My file is laid-out ...
1
vote
1answer
383 views

Script to move layer in photoshop

I'd like to have a script that moves one of two layer in a photoshop session by one pixel, save the output as a png and repeat. Here's my attempt (it complains that transform is not avaialable, but I'...
3
votes
2answers
82 views

Create new photos from a photo based on variations of an adjustment

I have a picture here and I want to apply an adjust (brightness for example) and save like 40 pictures, each one with a different level of brightness. Is there a way to do this automatically? I use ...
0
votes
1answer
31 views

Store a Copied Image in an Automation Script

So I'm about to get into a part of my project where I have to process a ton of images. The processing flow is the same, so I would like to use a combination of Actions and Automation to do the job. I ...
0
votes
1answer
800 views

Photoshop script to select specific colors

Please note that I'm a complete beginner and this is my first coding question ever. If this is more appropriate on another site, tell me. I want to automate a process were the program select a ...
0
votes
2answers
32 views

Toggle between image and upscaled+masked view of same image?

Is it possible in Adobe Photoshop, via Adjustment Layers or Scripting or some other means, to enable an alternate processed view of the working document? Ideally some kind of two-up view, where the ...
1
vote
1answer
65 views

Looking for software, apps, plugins that will tile multiple images

I am looking to use 1000 images of different people and tile them in rows and columns. I tried using the Contact Sheet II feature in Photoshop but I get white gaps between the columns. I've looked ...
4
votes
3answers
633 views

Photoshop Local Zoom?

Is there anyway to zoom in on only a portion of an image without enlarging the entire document? I know that you can create a second window for the same document, put the windows side by side, and ...
1
vote
0answers
62 views

Photoshop Javascript - Resize not working correctly

I have written a script in Javascript for photoshop which gets user input (number of boxes on the desktop) then converts it into pixel sizes. The problem is on resizing, the layer doesn't change to ...
0
votes
0answers
58 views

Photoshop Action ask for script location?

I have a Photoshop action which batch resizes a load of png files. It loads the png which is 5400x4500, it then resizes the canvas to 5400x4050, then File -> Automate -> Fit Image to 5400x4050, and ...
0
votes
1answer
148 views

How to avoid random fill pattern dialog box when using action in photoshop?

I want to create an action that fills pattern randomly. I have created a sample pattern but it show me dialog box for random pattern setting every time when I play action. How to avoid that dialog box ...
1
vote
0answers
492 views

How to make font size resize automatically to fit in a text box in photoshop using script

I have a JSON file like: { "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam dui ante, euismod id quam eu. " } The text object above contain 15 character. And, I have 6 ...
3
votes
2answers
370 views

How to find the nearest color from a list of 9 in Photoshop?

I've a picture of an static object correctly balanced and exposed: I would like to sample the nearest color from my own palette of 9 RGB or Lab using Photoshop: Colour palette: #8270a4 #aa83cb #...
0
votes
0answers
99 views

Export layers to files in CS6 action

I have two questions. Is there a way to set the exported filename to original_filename + layer_name.png instead of just layer name in the "Export layers to files" script? I don't know what to type ...
0
votes
1answer
617 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 ...