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

learn more… | top users | synonyms (1)

1
vote
2answers
108 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 ...
0
votes
2answers
484 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
0
votes
2answers
149 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) ...
4
votes
1answer
565 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 ...
2
votes
1answer
207 views

Photoshop Scripting: batch replace colors

I'm trying to write a script that will replace the colors of all same-colored shapes, including those on non-visible layers. I am new to Photoshop scripting, but I imagine the pseudocode would work ...
2
votes
1answer
110 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 ...
2
votes
1answer
318 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 ...
1
vote
1answer
74 views

Automate Export to Layers without overwriting

Here is the problem. I have a folder of PNGs. For each PNG, I want to create multiple PNGs with different styles applied to them. My approach was to create an action which creates multiple layers for ...
0
votes
1answer
27 views

Is there a way to merge layers with the same name inside a photoshop document?

I have a bunch of psd files with exact same layer stack in each. They contain different information, but the layer position in the stack, naming, blending modes are exactly the same in everyone of ...
3
votes
0answers
175 views

How to export slices to PSD in Photoshop CS5

I have a big PSD file with many slices, and I would like to have all those slices in new separate PSD files. Is there a way to export a slice to a PSD ? And automate this action using a script/action ...
1
vote
0answers
12 views

External Data Input PSCS6 with text changes

Basically Im a small time graphic designer trying to simplify some small tasks that will be constantly pop up. My objective is to automate Twitter banners where the user can input their Name 'Alias' ...
1
vote
0answers
66 views
1
vote
0answers
53 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 ...
0
votes
0answers
25 views

Illustrator: Export layer combinations with a script

I'm working on images for multilingual manuals. I have a looot of ai files of similar structure and I wonder if anyone could help me to batch export all of the stuff in one run. The files are layered ...
0
votes
0answers
35 views

Centering Text in script in photoshop

How can you center text in a script? I have tried to get it's bounds, use PARAGRAPHTEXT and use the width and height but nothing works well. I've also tried to make the text centered using ...
0
votes
0answers
31 views

Easy way to automatically shift layers when adding new images to a catalogue?

I need an easy way in which to edit a catalogue. I'm working on creating a catalogue for a client that'll have all their products. The problem is, I need a way in which this catalogue will be easy to ...
0
votes
0answers
38 views

Fit artboard to selected art scripting command in Illustrator CS5 crashes illustrator

I am trying to automate a process that requires me to resize the artboard. I am using AppleScript and planned on transforming the size of the image (already have this done) and then calling the ...
0
votes
0answers
24 views

Photshop - can Vanishing point filter be saved in action?

I need to paste multiple pictures (.jpg) in the same vanishing point filter grid one at the time, then export the result, one by one. I would like to save everything I do inside vanishing point filter ...
0
votes
0answers
72 views

How to create a Photoshop Action for a tool with user input

I'm using Photoshop CC. I'm using the Edit > Perspective Warp tool for a lot of images on a big project. Basically I need an action/script that grab the tool then let me manipulate the points then ...
0
votes
0answers
61 views

automate assembling multiple tiles back into the original big picture

I have multiple, 1024 jpeg tile images that are effectively tiles of a one big image which was split into a matrix of 32×32 smaller ones (each 256×256px). I wonder how could I efficiently put them ...
0
votes
0answers
35 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 ...
0
votes
0answers
69 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 ...
0
votes
0answers
142 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 ...
0
votes
0answers
140 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 ...
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?
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?