Exit Javascript
I have converted my Configurator panels to HTML5. I am experiencing a problem that I can't resolve. In Photoshop CC my new panel will run a command like "Auto Tone", but if I try to undo with the...
View ArticleRe: Exit Javascript
Hi Sam,I'm afraid this was a known issue with panels in the past - Hallgrimur Bjornsson may update us on the subject.Regards Davide Barranca---www.davidebarranca.comwww.cs-extensions.com
View ArticleRe: Exit Javascript
Hi Davide - thanks for the info. What I have discovered is that this issue does not effect all the scripts. It effects scripts for Auto Tone, Auto Color and Auto Contrast, but does not effect scripts...
View ArticleSave As PNG script
Hello,I'd like some help with this script if possible I wanted to save my open file to PNG format in the same location with the same name. I managed to do that with the scripts below. This is a script...
View ArticleJSX and pressed alt key
Hallo,I want to use the "Crop and Straighten Photos" plugin in a Photoshop action. But I want to get only one picture. So if I use the plugin manual, I hold the alt key pressed down. Photoshop then...
View Articleimplementing the traverseLayers function from xtools stdlib.js
I am trying to figure how to make a script which can search for a specific layer name in the layer palette, layer group and nested layer groups.I came across the xtools traverse layer function in the...
View ArticleRe: JSX and pressed alt key
The Plugin has no dialog and parameters are not passed to it as far as I know. You use menu File>Automate>Crop and Straighten there are no parameters you can set. During its processing it must...
View Articlestartup script
I work with a custom curves adjustment layer action to inspect a large number of tif files. This custom curve action is loaded via the Scripts Events Manager (SEM) to each file. After the inspection...
View ArticleRe: implementing the traverseLayers function from xtools stdlib.js
To process all layer you need to use recursion. And layer names in a document need not be unique you can have many layers with the same name. I played around once with a script to look at document...
View ArticleRe: Save As PNG script
did not get that far.... #target photoshop main(); function main(){ if(!documents.length) return; try{ var Path = decodeURI(activeDocument.path); }catch(e){alert(e); return;} //Let the user...
View ArticleRe: startup script
Is there way through scripting to have this custom curves adjustment layer run in the background with out adding the adjustment layer in the layer pallet via the SEM?In Photoshop you can not apply an...
View ArticleRe: startup script
The purpose of the analytical layer is to reveal photo retouching flaws that are no visible in on the screen and which show up during printing phase. I use the Scripts Event Manager to run the...
View ArticleRe: Strange glitch in my script. Please help!
JJMack,Right before var doc = app.open(file); fails to execute, the value of var file is "~/Desktop/Input/.DS_Store", where Input is my folder with images.
View ArticleRe: script to find specific font and copy to a new document
Yeah so far I've been having trouble checking the layers, identifying the fonts, and the creating the new text object on a new file So pretty much the whole thing is broken at the moment. Any help you...
View ArticleHow do I get the Photoshop layer tags in JavaScript?
I asked this question at graphic design stack exchange but they pointed me here: http://graphicdesign.stackexchange.com/questions/35374/how-do-i-get-the-photoshop-layer-ta...
View ArticleScript that create Layerset with name from layer?
Hello! This should be easy for someone who know whet is doing so not me:P I want script to automatically create layerset from each selected layer, name it as that layer and place that layer in it I...
View ArticleRe: Script that create Layerset with name from layer?
You could remove the lineif(doc.activeLayer.kind != LayerKind.NORMAL) return; But it would only work with one selected Layer (and also on selected LayerSets). To handle more than one selected Layer (or...
View ArticleRe: Strange glitch in my script. Please help!
That is not a picture and that is why you can't open it in Photoshop. In general you can't trust all pictures to be pictures since user might mistake and there might be hidden system files like that...
View ArticleRe: How do I get the Photoshop layer tags in JavaScript?
Hi, these functions will select all your layers with the specified color:use the command: selectAllByColor("red");function getIDXwithsameColor(TheColor){// search and return a list of indexes for the...
View ArticleBug with Liquify in CC 2014 - Actions/Scripts
I am trying to open the Liquify filter from either a script or action, but it only works if I first have a mesh. var idLqFy = charIDToTypeID( "LqFy" );executeAction( idLqFy, undefined, DialogModes.ALL...
View Article