A script for "Save for Web" as .jpg
I found a script that saves the current selected document in Photoshop as .png to the Desktop, and use it all the time. function main() { // declare local variables var doc =...
View ArticlePhotoshop - combine red and green channel images into a merged image?
Hi, I am a developmental biologist carrying out experiments on a type of microscope known as a Confocal Laser Scanning Microscope (CSLM). Basically, this is a microscope coupled to some lasers which...
View ArticlePossible to script palette menus Save and Load Curves?
Is it possible to script CS4 Photoshop's palette menus? Specifically, the "Save Curves Preset ..." and "Load Curves Preset" ... of the Adjustments Palette. I have 600 images, some of which have...
View ArticleGetting Channel Information
Ok, I'm trying to write a script that copies spot color channels directly into Layers. I know how to copy the information over, and I figured out how to get the name to transfer, but I'm hung up right...
View ArticleFolder Modification
Hello, (it's me again, sorry ...) I finally made a script that makes me happy but I have a weird phenomeon with folders, more especially with files in folders.In my script, I ask the user to select a...
View Articlegeneral photoshop error translating layer
I'm trying to translate a duplicated layer in the ExtendScript Toolkit, but I'm getting a "General Photoshop error occurred. This functionality may not be available in this version of photoshop." I'm...
View Articlehow to convert pixels in mm ?
Hello everybody!I'm making a tool in which the user specifies the size of the frame, I want to give him the opportunity to choose between units of measurement. How do I convert one unit to another?...
View ArticleHow can I export the number of pixels of each layer into an excel file?
I would like to export the number of pixels that each layer of an image contains into excel. How can I do this?Secondly, as I need to do this with several images, is there any way to name the layers so...
View ArticleImporting Assets & Filename Creation
I need a script that will do the following, see my inserted visual guide for what I need.hopefully someone can help, for this will help me alot and make my workflow much easier. Thanks.
View ArticleSelecting multiple layers and merge
is it possible to select multiple layers (with layermask) and merge them? tell application "Adobe Photoshop CS6" tell current document set current layer to every layer of layer set "bloem...
View ArticleResize for vector objects in CC
The Photoshop CC scriting guide is out, but I there are no additions to the API related to new vector features. For example modifying border radius or resizing the vector object in pixels is missing....
View ArticleHow to select an action via script?
Hi, I'd like to select an action in the Photoshop using script. An example will be as follows, selecting "Aged Photo".How could I do so? Your help is very much appreciated.
View ArticleCreate strip from image sequence
I need a script or action, or droplet or something that will take a folder of images and create One Image strip from it. Basically I have animations I have rendered out as frames that I need to put in...
View ArticleHow to create "ALL" preferences of spotHealingBrushTool?
When I select spotHealingBrushTool in an action I can only put the brush diameter, etc, but not the Mode:NormalType: Content-AwareSample All Layers: true ScriptListener does not detect it. Anyone has...
View ArticleHow to get the style of a layer using photoshop scripting ??
As I know there is a method ApplyStyle(string) which is uesd to apply the specified style to a layer. But I really don't know how to get the style name of a layer ? Anyone who knows? Please help me!...
View ArticleAdditional scripted patterns
Hi all, I am the developer of the Deco scripting engine that is used to create scripted patterns in Photoshop CS6. I would like to continue the interesting discussions and exchange of patterns and...
View ArticleIteration through activeDocument.layers array is very slow
Hi, I'm trying to build an array of all the currently visible layers in a document, and the only way I know how to do it is by iterating (using for or do loop method) app.activeDocument.layers however,...
View ArticleHow to call the photoshop action file?
I need to know how to call the photoshop action file(*.atn) through javascript. Kindly advice me.
View ArticleSuspend History State (Undo Once)
I can't seem to get the suspendhistory code to work right in my script. I have a text script that reads the info of a text layer and displays it's info in another text layer......but it seems to have...
View ArticleHow to rename a Ps-path
I need to rename a Photoshoppath (only one path in file but with different names) with Javascript, I cannot select a pathitem and then rename. There are only two pathnames in my files: Path1 and Pad 1,...
View Article