add node to xml file
Hi, I try to parse an xml file by the following way: // read the content var xml_file = File(xml_file_path); xml_file.open('r'); var content = xml_file.read(); xml_file.close(); // add...
View ArticleGet selected layers
Hi there. I've been trying to work with multiple selected layers, but I don't know how to do it. If I select multiple layers, app.activeDocument.activeLayer only returns the topmost one. By the way,...
View ArticleBatch replace smart objects
Hello, I have very minimal scripting knowledge, and every script I've found for this workflow is partial or results in "undefined". I am on a mac running Photoshop CC (latest update). This is what I...
View ArticlePS Script - Change Layer Color
This Is My First Post Here, So Hello Everyone,Hope I Am Posting In The Right Section, I Have A Photoshop File Which Looks Like Shown Above.. The Text 1 2 3 ...15 Are Different Layers..And The Boxes...
View ArticleGroup Save Script Modifications
I need to change and fix a few things with this script. Where do I insert a try-clause on all layers to determine the layer group not selected not to be included in the export ? I want to insert this...
View ArticleReturn Individual Values From Array as Variables
Is it possible to loop through the channels and return their individual RGB values and names so they can be assigned to a var to be used later in the script as well as to build and populate a scriptUI?...
View ArticleIssue with Extentscript's item background color
Since this program has been used for the creation of normal testing a progress for my own extension for Photoshop, it has been the bane of my existence. I have spent so much time trying to force my own...
View ArticleTest mask visibility
The photoshop document has a layer with a layer mask.Using the extended script or javascript,How would I test if the layer mask is visible or hidden?
View ArticleAdd custom menu to Adobe Bridge
Is it possible to add a custom menu item to Adobe Bridge to call the Liquify Interface? Currently Photoshop CC 2014 is not able to load the liquify interface through and action or script
View ArticleDelete all groups and layers that are switched off, even if they are locked
Hi, I need help with a script that will do the following: Delete all groups (including layers inside) and layers if they are are not visible - with the following requirements a. Even if the group or...
View Articleshow mask action/script
I am trying to create an action or a script that will allow me to reveal a layer mask with a keyboard shortcut.Normally, in PS CC 2014 I select the layer mask in the layers palette, then hold option...
View ArticleWhat are some common performance tips for ExtendScript?
Are there any common tips (read: design patterns) that would help the performance of a long-running script? I mean, without a specific case, some general tips. For example, when looping over layers,...
View ArticlePSD to XML converison
I want to convert a PSD file into XML. Is it possible to export the PSD file to XML file. Does Photoshop CS5 have this feature? or any commercial tool or extension or plugins available? I am awaiting...
View ArticleMove files from one folder to another javascript?
I am running a 3-action droplet automatically using windows task scheduler. Here are the 3 steps:1. Batch file to move files from hot folder to processing folder2. Run IPP (dr brown's image...
View Articleautomate save with adding a number
Hy all, this is the situation: I have got a psd file. I want this file to be saved automatically as Documentname1.png while it originally is Documentname.psd. The script doesn't have to ask what number...
View Articleclose ALL open files and save jpg with jpg option
Hi, I have some (a lot) of -jpg images to crop, and resize, while I have to do this one by one based on what portion of the image to crop, once done I need to close, and save them. To speed up the...
View ArticleCOM Reference in CS5 Missing
Does any body know what happened to the COM reference in visual studio 2008 for photoshop CS5, i just installed and my CS4 COM vanished and now there is no COM reference for photoshop CS5.
View ArticleModeless window using "palette" does not stay up in CS5
I am having trouble running a modeless dialog with CS5 (on Windows 64-bit). My own script does not stay up and neither does the SnpCreateDialog.jsx snippet that comes with the ESTK and is supposed to...
View ArticlePS3 script to batch rename layers
Sometimes, I make copies of layers (for example: copy little diamonds to align into a shape of the letter M). Each time I "alt+drag" the content in that layer (to make a copy of it), PS makes a copy...
View ArticleExport Layers To Files - Renaming Script PS CC
On all previous versions of Photoshop, including CS6 (before the recent update to PS CC), I was able to use the ExtendScript Toolkit to edit the PS preset script that adds naming/numbering sequences to...
View Article