How To Exit A Script?
Hello.I'm trying to write a script (My First) for Photoshop.I want to check a condition and if it's true to exit the script.The problem I can't find any place writing what is the "Exit" command in a...
View ArticleLayer Comps To Files - Export error: Could not complete this operation. There...
I have been using the Export Layer Comps To Files scrips that ships with Adobe Photoshop CS5 for a while and found it very useful, apart from the numbers it automatically adds as a prefix to the...
View ArticlePS-Scripts.com temporarily suspended?
Hi,I've run into this page when trying to visit good old ps-scripts.com: Never seen anything similar over the years - has anyone some news about it?Thanks! Davide
View ArticleEditted file name to layer
I have a PSD file called "WEB-MUG-12345" - I am able to use a script to put that name into that same PSD file and use actions to change font, size, placement. I need to insert asterisks so in my PSD...
View ArticleBatch HDR creation script
I have created a Photoshop Script (using JavaScript) for batch creation of HDR images.I have used theseprevious discussions during implementation. In the beginning part of the script there are some...
View ArticlecharIDToTypeID( "xxx" ) Reference
I am using scriptlistener to record some scripts. It is of course filled with this stuff var id41 = charIDToTypeID( "Vrtc" );var id42 = charIDToTypeID( "#Rlt" ); I can figure some of it out. But I...
View ArticleGenerator guidelines/howto/getting started questions
Trying to get started with generator, but a bit confused. I've got the sample plugins running, read through other samples, searched forums, but I'm missing a basic developer guide on what is the best...
View ArticleExport Layers to Files (png) Trim - but doesn't trim? CS5
Hello I'm stumped! I'm using CS5.. I select 'trim' on a png 'Export Layers to Files' script, but instead the single layers are each exported onto the whole document size (which is much larger; but I...
View ArticleSelect layer by prefix
Is it possible to select a layer based on its prefix?As an example, for a layer named: EV01_LayerName To select based on EV01_ Thanks for any help!
View Articleapply selection to layer mask
Hello, iam looking for a solution to apply a previeuwsselction to a layer mask of a adjustment layer. My code mange to select the mask - but when i apply theselection it creates layer above. I need to...
View ArticleHow can I retrieve the transform information on a layer
I am trying to retrieve the transformation information on a layer through script (for a smart object if it matters). I've been able to do it if there is a text layer attached, but I need to be able to...
View Articleload files to stack with out file extention as part of layer name
Ok so as the title says i'm trying to figure out how to modify the "Load Files to Stack..." script so that it doesn't put the file extention as part of the layer name. it makes it a pain to have to go...
View ArticleManipulating Camera Raw settings with javascript
Is it possible to manipulate the Camera Raw settings with a javascript? I've been looking for info on this and have had no luck finding any. What I'm doing is multiple conversions from a single RAW...
View ArticleDid CC 2014.2 break textItem.size?
Scripts that worked before the update are now broken, and text layers created via script are all 12px. See this simple script: var docRef = activeDocument; var TextLabel = docRef.artLayers.add();...
View ArticleHow can get and set x , y position of opend image ?
Hi, I used photoshop scripting in back end.I am using javascript. Here i do following step for image adding in layer.1. Create main window for save psd file.2. Create new layer in this window i.e....
View ArticleaddEventListener - change
I'm trying to learn how the event handlers work. I set up a simple dialog to use MouseEvents. I got the "click" event to work but when I try to set an event for "change" nothing happens. Basiclly...
View ArticleScript that resize the open image and save it with a dialog box where I can...
Need help with a script that resize the open image to 1500x1500px and then save it in the same folder as it came from. And when I run it I want to have a dialog box where I can write the name of the...
View ArticleResize font to fill text box
Hello, Please see the attached image - a text layer in Photoshop, with some text in it. The text fills only about half of the text box; is there a way by which using photoshop scripting I can resize...
View ArticleHow do I report a bug in ExtendScript Toolkit?
The Adobe Bug Report form does not have a selection for ExtendScript Toolkit,which has a quirk that is becoming a real pain in the xxx for me, andprobably anyone else running Windows who regularly...
View ArticleScript to copy all layers names into keywords metadata...sorting files which...
HelloI need script that can copy all layers names to some metadata field in the same picture, like keywords or similar...In this way I can sort files in bridge which have layers to some subfolder thanks
View Article