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
1
vote
1answer
218 views

How to resize one static rectangular banner to several sizes in PS or Sketch?

Let's say I need to make a set of banners in 25 sizes. Is it possible to make only one design of rectangular banner and resize it to 24 other sizes afterwards using scripts? The only way I see now ...
3
votes
2answers
720 views

How to Generate Swatch Library from Json file?

I'm looking for a way to generate a swatch library from a JSON file in Adobe Photoshop CS6. Unfortunately, I can't seem to find anything on the web about this, and I don't know how to write my own ...
1
vote
2answers
524 views

Gradual opacity decrement using Action in photoshop

I am trying to create an action in photoshop which duplicate the selected layer and decrease its opacity 0.5 less than the selected layer. I tried to record action but its always sets fixed opacity ...
2
votes
2answers
5k views

Photoshop to SVG path?

I'm working under the following constraints: I have Photoshop CS3 only I don't have a budget to buy anything I need to get a Photoshop shape converted into an SVG path. How can I export or save ...
0
votes
1answer
170 views

Standardizing Image Size & Centering?

I have over 500 images that I've collected online, but the issue is that they are all different sizes. I am trying to standardize them to 500px by 500px to put as thumbnails on my blog, I was ...
0
votes
1answer
720 views

Create multiple instances of an image with text from csv file

I am looking for a way to create a personalized birthday card. I have already created the image and would like to add the names of the recipients from an XLS or CSV file. I want to create about 300 ...
0
votes
1answer
840 views

Photoshop Actions Now Prompting for User Input?

I have a set of Photoshop Actions with many steps which are a vital part of my workflow. Recently, after upgrading to Photoshop CS6, it prompts me for user input at various stages which the Action ...
0
votes
2answers
4k views

Export layers to files and keep the top layer

I'm trying to add a logo to over 100 images. I have all of the images loaded into a PSD, and the logo as the very first (top) layer, locked into place. Is there an easy way to export layers to files ...
2
votes
1answer
3k views

Photoshop action to resize images

I need to do the following: Take a folder of images Open images into Photoshop Adjust to 1000 x 1000 pixels in size Export and save as a high quality .jpg image into another folder (to keep it neat) ...
5
votes
1answer
216 views

how is this picture made?

Good day guys, i have to something like this, any idea how is this picture made ? so it looks like negative i did invert it in photoshop but the bright side of his face was blue, so there been ...
0
votes
3answers
3k views

Photoshop Batch extract images from PDF

When I open a PDF in photoshop I can choose to open one of the images. I've got a massive 2gb pdf with ~700 images in it and I'm trying to export them all to image files. Is there a way for photoshop ...
1
vote
0answers
479 views

Is there any way to label a grids rows and columns with numbers in Photoshop CC automatically?

So you draw your grid automatically (which I know how to do). Then I want it to number just the row and column automatically like so:
2
votes
1answer
555 views

Photoshop: implementing color picker into an action?

So here's the short version: I have web banners I create on a daily basis. There is a border and then some colored text and graphical elements within it. I have already created an action that lets me ...
2
votes
1answer
1k views

Is there a way to select layers via relative reference (eg. “Next Layer” instead of “Layer X”)?

While scheming actions, sometimes i find myself in a situation where i work with multiple layer copies going back and forth through them, and sometimes i cant rely on their names, since i design some ...
5
votes
0answers
564 views

Script to pick closest Pantone from CMYK reference in Photoshop

I'm trying to script the process of selecting the closest Pantone+ Solid Coated colour from a CMYK reference in Photoshop. Manually the process is: Click on the Foreground Color picker. Enter a CMYK ...
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?
5
votes
2answers
4k views

Batch Place Multiple Linked Files in Photoshop

So I've got an insane amount of images to process through Photoshop, and I've worked it out that linking them is my best bet. Has anyone come across a script or action that would allow someone to ...
0
votes
1answer
2k views

How to avoid sequence numbers when exporting layers in Photoshop CC2015?

I am using Photoshop CC2015 to modify and then export layers as files. While saving, Photoshop automatically adds a number sequence to the file. I do not want this numbering. All I want is '...
2
votes
3answers
2k views

Merge Photoshop groups each into their own single png

I am looking for a script/way to automatically render all Ps groups in a project into their own single .png file (so one .png per Ps group). I have found scripts that export all layers as .png but ...
2
votes
1answer
534 views

How to delete all pixel layers in Photoshop

I have designed a website template in Photoshop CC2014 and after making this I have to upload it on a server for my client, but before this I want to delete all images (pixel layers) from .psd files. ...
2
votes
1answer
1k views

What is the difference between .jsx and .js?

I am new to Adobe Scripting - what is the difference between .jsx and .js?
1
vote
0answers
44 views

Have to manually insert every number for a digital planner - Is there a way to automate this process?

I design dated planners on Etsy. The most time-consuming part of creating the planners is that I have to manually retype the numbers for every date in each planner. I have three different types of ...
12
votes
6answers
4k views

How to repeat a gradient multiple times in Illustrator and Photoshop?

How to repeat a gradient 'n' times, for example, repeating black to white gradient 5 times (along the path of stroke) like I've done manually in below example image. Is there a way to automate it to ...
0
votes
1answer
72 views

How to Identify/Change Blue-Bluish Colors in this Map in Photoshop [duplicate]

I want to extract/mark/show all blue colors of the image because there are color blinds who see them as black/wrongly. I need to estimate all blue-bluish colors there and be able to change the color ...
1
vote
1answer
5k views

How to replace a font by another on all text layers in Photoshop?

I have a big PSD file with hundreds of text layers all placed in a lot of folders and subfolders. Some of those layers use font A, the others use font B. Now I want to replace the font in all layers ...
1
vote
1answer
387 views

Script to update linked files before exporting using Photoshop's Image Processing

Related to this treat: Auto-updating linked smart objects in files that were closed at the moment of the update I have linked smart objects in 24 PSD files. Is there a script I can use with the "...
0
votes
1answer
69 views

Photoshop ico files and mass exporting issues

I'm using http://telegraphics.com.au/sw/ 's ico plugin to easily load ico files in photoshop(vs converting to png first)... This made it easier to use ico files. I have a custom .NET exporting ...
0
votes
1answer
421 views

Error in Drawing a path using Photoshop scripting

I am using the following script for drawing a set of paths onto a photoshop image. var docRef= app.activeDocument; app.displayDialogs = DialogModes.NO; var currentRulerUnits = app....
0
votes
1answer
231 views

Photoshop Actions Panel Stop Without Message

I can insert a stop action using the Actions Panel dropdown > "Insert Stop" command. During playback, a popup is displayed with an optional message and a "stop" button. How do I stop an action without ...
0
votes
1answer
141 views

Actions in Photoshop

I recorder action sequence and toggle dialog window ON on file savings to change a saving file folder. And every time I saving .jpg file it add a "copy" word at the end of file name. How to prevent ...
-1
votes
1answer
57 views

Add a conditional line to existing script

I've got this script from an earlier question and answer (specific resize layer action) Many thanks to SQW! (function (){ var startRulerUnits = app.preferences.rulerUnits; app.preferences....
5
votes
1answer
4k views

Can I add 'Export As' to an action script?

Could somebody explain how I can add 'Export As' as an action script in Photoshop CC 2015? I just want to automate saving icons to svg.
0
votes
1answer
814 views

Action to crop a photo with user input. The batch processing

I'm stumped. All I need to do is open my photo, have the action stop to wait for me to decide where the crop should be (to center the important part of the photo), then close that photo so the batch ...
4
votes
1answer
127 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 ...
2
votes
1answer
855 views

Photoshop CS6 Scripting - Manipulate Transform Reference Point

When scripting the Photoshop CS6 Transform, you can set the center to rotate or scale around a point by specifying the AnchorPosition enum, such as AnchorPosition.BOTTOMCENTER for the bottom center, ...
0
votes
1answer
540 views

Is there any way to record and play mouse click in Photoshop?

I'm trying to record a jsx using Photoshop scriptlistener plugin. Is there any way by which I can record the mouse click and play it again using scripting? I'm using the latest version of Photoshop.
-1
votes
1answer
737 views

How to save layers in a group as one image in photoshop?

I am dealing with large number of layers in photoshop. How can I save multiple layers of a group as a single image in a batch process?
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 ...
7
votes
2answers
1k views

How can I get the boundaries (width & height) of the current clipboard image?

To reproduce what I'm looking to do with scripting (JSX) in Photoshop: Select part of image with transperant background (no background layer) Copy File -> New *1 Paste *1 - Photoshop will ...
0
votes
1answer
380 views

How to work on multiple canvas sizes non-destructively

I am working on a UI project that requires multiple scales. Essentially I want to work at a high resolution(the original) but I need to be able to export the different widgets all at the same lower ...
1
vote
2answers
1k views

Is there any way to identify clipping masks using JavaScript? PS CS5

I'm writing a script that looks for layers with a certain name in a document, and I need it to then check if it has any clipping masks applied to it, and select them all, so that I can merge and ...
4
votes
2answers
19k 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 ...
1
vote
2answers
1k views

Photoshop script to select/average/deselect automatically

I am currently working on an image (wallpaper for personal use) based on lowpoly graphics. When creating the lowpoly part, I have created several triangular shapes, covering the part I wish to '...
1
vote
1answer
679 views

Coordinates of dots on screen

Ok so I have a picture of a map with little dots for each city on the map, and I want to find the coordinates of each dot. The only way I've been able to think of was using the "info" panel on ...
0
votes
1answer
783 views

Photoshop batch/mass save for web

This is a variation on a number of previous questions, but I seem to have a unique situation. I have a photoshop file. It has many layer groups, each forming a distinct and complete image to be ...
0
votes
1answer
180 views

Export all layers to png in Photoshop including those outside of the canvas area

I am using the script inbuilt in photoshop, but if some of my layers work are outside canvas, it trims those to the visible area only. But we need everything in the layer in png, whether is was ...
2
votes
1answer
802 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 ...
1
vote
1answer
917 views

Can a photoshop action or script load/save swatch, and choose color from it

I was wondering if it is possible for a photoshop action to choose foreground or background color from the swatch. I have tried doing it, but instead of picking from swatch it is always taking a ...
2
votes
1answer
14k views

Export image sequence by moving layer in Photoshop

I want to export a simple animation for a rolling background. I need to move one layer to the left x pixels, then export as "frame*.png" and repeat. (Where * is the number of the frame. I need to ...
2
votes
2answers
333 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 ...