Apply mask to an image in Photoshop script
I need to create a Photoshop script (I'm using Java Script) that takes a few images and applies the same mask to all of them. (Here is what I mean by applying a mask) Once I've loaded the images using…
I need to create a Photoshop script (I'm using Java Script) that takes a few images and applies the same mask to all of them. (Here is what I mean by applying a mask) Once I've loaded the images using…
During the course of my work I am constantly in a position where I would like to close all the documents that I have open except the templates I am working with. If I were to have the word "keep"…
I am trying to write a script that will update the value of a text layer in Photoshop. I have a layer stored in a variable myLayer which I log out so I know it is an ArtLayer with a…
I have written a couple of simple .JSX scripts that automate some common monkeywork I do in Photoshop. I wrote the scripts in ExtendScriptToolkit and then execute them with File > Scripts > Browse and select the script I want.…
I want to write some PS Javascript code to get a pixel's ARGB color value. A function which would look like: function getPixelARGB(doc, x, y); I searched for a while and found a method by Mike Hale in this site:…
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 in the code, or have ideas…
I am a Photoshop beginner and currently use version Photoshop CS3. I use keyboard shortcut all the time to speed up the design process such as creation of new layers etc. However, one command I feel Photoshop must have is…
I'm creating a web service which revolves around users creating custom image files from details they enter on the webpage. I have the PSD files completed, along with the accompanying scripts, but how can I launch the Photoshop scripts directly…
I need help with a Regex in JavaScript (for a Photoshop script) to match bold tags around words in a string. (not worried about italic or bolditalic at this time). I don't want to split the string at this stage,…
#target photoshop var doc = app.activeDocument; if (doc == null) { throw "No Valid document available for export."; } if (doc.width != doc.height) { throw "Image is not square"; } var startState = doc.activeHistoryState; // save for undo var initialPrefs…