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

learn more… | top users | synonyms (1)

2
votes
3answers
718 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 ...
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
3k 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
89 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
642 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
138 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 ...
2
votes
4answers
9k 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
601 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
183 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
1answer
105 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
934 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 ...
4
votes
1answer
563 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
64 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?
1
vote
1answer
58 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
131 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
2k 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 ...
3
votes
2answers
16k views

Open a Photoshop document layer in a new File quickly?

My First Question here, I have a lot of PSD's to work on in which my main job is to: Copy a layer/layers Make a new Document place/drag them into the new document Trim the image to size Save as a ...
1
vote
4answers
326 views

Combinations and Permutations of Photoshop Layers?

This one is a big one I have a Photoshop document that has 8 Layers in it. I need to create a way to use those 8 layers and create certain combinations depending on the rules below... Example: ...
0
votes
1answer
102 views

Export PNG (or other) in multiple versions from PSD with varying background layers

Ive got a website ive mocked up in PS ive got a range of background options which are individual layers in a folder called Backgrounds. I want to export copies of the website but each time change the ...
0
votes
0answers
17 views

Generating multiple JPEGS using photoshop [duplicate]

I need to print 100's of certificates for some college work. I have made one PSD of the certificate, and I have a notepad file with all the contacts for the certificates. i just need to make the ...
1
vote
2answers
306 views

How can I create an action that hides or shows layers by a specific name in Photoshop?

I have some layers in a PSD that are named "@bounds". I'd like to create an action that will either show or hide any layers in the doc that match that layer name. Is this something that can be done ...
1
vote
1answer
55 views

Photoshop layers to batch icons?

I am trying to save out 24 rasterized layers to icon format. Is there a script to do this? I have tried greenfish but it does not let me set a custom size 100x100 I have also tried batching as png ...
1
vote
1answer
403 views

Distribute a stack of elements to a grid of elements?

I have dragged and dropped about 30 png's into a psd document so that they're each in a separate layer but laying on top of each other. I now wonder if anyone knows of a nifty trick or script to ...
1
vote
1answer
302 views

Photoshop text bounding box width and height

How to get the width and height of text bounding box in Photoshop using ExtendScript
2
votes
4answers
2k views

Is it possible to flatten every layer in photoshop?

I am not trying to merge every layer and flatten the image. Instead I'm looking for a faster alternative to right-clicking every layer and converting to smart object, then rasterizing the layer. Or an ...
1
vote
1answer
118 views

Photoshop actions: saving with custom addition

I have searched far and wide for this, and cannot figure it out. I create and run an action, but I want the action to save the image with the original name + two custom letters. Original image is ...
2
votes
1answer
330 views

Advice on batch exporting sections of an image

I have a large PSB file (33600x19200px) and I need to write a script to export sections of this image as a series of images. What would the best approach be ? Initially I thought about scripting ...
1
vote
1answer
2k views

Export each folder as a jpg (or other) in Photoshop

Ive got about 15 folders (groups) in a .psd file each folder has multiple layers, together each folder makes one retouched and editted image, im aware of the export layers to files script, but is ...
3
votes
2answers
430 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
1answer
172 views

Can one create a Photoshop or Illustrator script that can see what functions & commands a user is executing? [closed]

I would like to make a Photoshop and Illustrator plugin that can tell what commands and functions a user is executing and then store that information in a database or file. Is this possible in the ...
1
vote
2answers
3k views

1 click undo on photoshop actions

Ive been using some Photoshop actions (not developed by me) to add a 'grunge' effect to some text (a .png), it works well but theres several levels of grunge, so i tend to try a couple out to see ...
1
vote
1answer
850 views

Adding “Duplicate Group” to Photoshop Action

I have created a Photoshop action which: Duplicates the current image. Merges all visible layers. Removes hidden layers. Rearranges parts of image. Adds the layer to a group. Displays user interface ...
2
votes
1answer
694 views

Photoshop: Change Text Box Position Coordinates Via Script

Here's what I'd like to do. textLayer.textItem.position[0] = 200; I would expect this to change the x-coordinate of the text box to 200px from the canvas origin. The value does not get assigned. ...
2
votes
2answers
3k views

Photoshop: Batch Fit Image x Bicublic Sharper?

1) By File -> Automate -> Fit Image..., we can fit images of any size or orientation into a particular frame size. But we cannot specify the resample method, like Bicublic Sharper. In fact we ...
2
votes
2answers
228 views

Photoshop blurring peaks (it's hard to describe in text)

I want to know how to blur something in peaks, here's a picture to help describe it: Segment C is blurred the most then B then A to create an effect like the one on the right but with blur. I was ...
2
votes
3answers
2k views

Photoshop CS6 - Get width of paragraph text in pixels by script

Is there any way to get the width of the text inside a paragraph box? The measurement would not take into account the wrapping. That is, it would equal the sum of each wrapped line. I'm not asking ...
1
vote
1answer
264 views

Photoshop: Switch visibility between two layers

For example, i got two adjustment layers (A and B). At last, i will only use one of them. While considering which one is better, i can compare them by turning A visible and B invisible, then A ...
0
votes
0answers
408 views

Adobe Photoshop XY coordinates export

I have tried to use amrok's script (given here). I'm trying to export the XY coordinates of corner points of a selection - ideally to a text file... Would you be able to help?
1
vote
1answer
915 views

Action on selected layer in Photoshop

I have a bunch of Smart Objects in a .psd. I want to create an action that opens up the .psb of each individual Smart Object and scale the .psb image size by 150%. The reason for all this is that ...
0
votes
4answers
4k views

Extract image x/y coordinates and width and height info from PDF via IL or PS

We have a professionally designed floor plan in PDF form for an event we are running currently. It is similar to a CAD drawing. We have booths (rectangular squares) drawn on it. I have a colleague ...
5
votes
4answers
6k views

Create a sprite using a sequence of images photoshop

I would like to create a horizontal image sprite for use in a jQuery animation, how would i create a sprite from 190 images in a folder (around 220kb each file) into a single horizontal sprite?
2
votes
1answer
212 views

Reverse layer positions from a layer group (batch)

Do you know how can I create batch script in Photoshop that reverses the position of all the layers inside a layer group? I have like 400 layer groups, each with 1-20 layers like this: Group 1 - ...
3
votes
2answers
337 views

How to automate some picture manipulation (define a crop and apply a crop) in photoshop?

I am currently working on a lot pictures (around 1000) and would like to automate some tasks: define a crop region that correspond to specific aspect ratio. For example if i have a width/height = ...
1
vote
0answers
21 views

Script for exporting 200 layers to PNG stacked on top of one another? [duplicate]

Possible Duplicate: Is there a faster way to save all layers in PSD to PNG? This is my first attempt at Photoshop. I have been taking photos of my daughter for 6 months and I want to create ...
3
votes
2answers
1k views

Automation of repetitive tasks in Photoshop?

Is there a way to automate some highly repetitive tasks in Photoshop? Example 1 I have a folder of images. For each of them, and I want to import each as its own layer I'd like them to be resized ...
2
votes
1answer
1k views

Data merge and layout of photoshop files

I have a PSD where the design contains a text layer. I want to generate a version of the image for each name in a text file and lay out the results 6-up on a page for printing without any scaling or ...
1
vote
1answer
682 views

Develop a tool for inserting text/image in a photoshop file

I'm trying to develop a simple tool for translators who don't have Photoshop but I can't find any library that supports layers. I need to open the PSD file, translate the text layer and save it as ...
1
vote
1answer
961 views

Resize a collection of different sized png images to the same dimensions

I have a collection of a few hundred png images, each are different dimensions. I want to be able to resize them all to the same dimensions, preferably keeping the aspect ratio intact. Is it ...
2
votes
1answer
71 views

Add class to layer in Photoshop

How can I simply add a class to a layer in Photoshop CS5? That class should hold properties like "fill color", "size", etc. I'm very new to scripting Photoshop so please bear with me =) Thanks!