Scale Photoshop layer using AppleScript
Obviously, this is a Mac PS issue. I am trying to script scaling a Photoshop layer (a smart object layer) to a specified percentage that I calculate from a layout in InDesign.However, I am stumped on...
View ArticleCreate Layer with BG Color
function layer() {Application.activeDocumentApplication.backgroundColor (blue = 34, green = 12, red = 1) }layer() I want to create a NewLayer, with a specific background color, the code above is not...
View Articleexport all files using saveAsWeb & device
Hi Forum.. New to scripting. please help. I have this little bit, which is converting only the active document (single file) as ExportOptionsSaveForWeb(). I wish to export all the activeDocument using...
View ArticleVBscript Photoshop: convert active document to RGB (PsChangeMode?)
Hi thereI'm trying to convert the color mode of my active document to RGB, IF it needs doing. I'm struggling with the line, I'm a novice with VBscript. I'm trying something like docRef.PsChangeMode =...
View ArticleSnap with scripting
Is it possible to switch the snap (VIew --> Snap) on and off using scripting? Something along the lines of app.activeDocument.snap = true; Cheers
View ArticleIs it possible to generate a text file with layer names, blend modes etc
I have some very large PSDs. 2gb and above, maybe a dozen layers each. I need to manually, generate a list: FilenameImage size in pixels and inchesLayer names ( I need to know what assets are used in...
View ArticleReserved words
I just discovered that "name" is a reserved word. Or at least if you create a variable called name it'll ignore it. alert(name) Adobe Photoshop Is there a list reserved words in photoshop scripting...
View ArticleExtendToolscript opens when I call script from photoshop
Hey, I asked this question over in general discussions by mistake so I though I would re-ask it here. I have a Javascript that I have written that builds a interface of buttons in organised groups...
View Article8x12 Contact Sheet with one sigle image in various format
Hello Sir, I would to understand how I can realise a 8x12 contact sheet displaying the same image in various formats ? It is commonly used in school photography. One image would be 13x18cm, 2...
View ArticleResize Canvas applescript using the relative tick?
I'm using this tellapplication "Adobe Photoshop CS6" resize canvasheight -1 anchor positiontop centerendtell I want to reduce the size of the image by 1 pixels from the top center. But when I do it...
View ArticleDetect if top line of a layer is empty or not?
I'm trying to work out how the top line of an image layer is transparent or not? I need to know if it contains visable pixels so that i instruct the crop correctly. Ideally in applescript as I...
View ArticleHow to batch generate hundreds of color swatches?
- i need to get hundreds of color swatech in tiff (Lab color) format.- i have table with name of color and its Lab values (columns: name; L value; a value; b value) - table i can save as .csv etc.;...
View ArticleOpen Folder
I have a folder on the C drive called "Container". Since I often have to open pictures from a camera and Windows always remembers the last task I can not write an action which always opens this...
View ArticleCS5: Macro for HDR toning.. Bug?
Hey, I got over 5000 picture files to add the "hdr effect" with hdr toning of Photoshop CS5. I recorded a macro where i do it with the "Surrealistic" - preset and also tried custom settings. But every...
View ArticleSave As in Parent Directory
I am trying to create an process and action that does the following: Process outside of PS that stages files for editPS Action to set selection(s) (each selection is on its own channel) on the original...
View ArticleError 2: SAVE_FOLDER is undefined. Line: 361 ->
Hi. Every time I try to run a script it comes up with the following message Error 2: SAVE_FOLDER is undefined. Line: 361 -> I've tried uninstalling and reinstalling photoshop/deleting the script...
View Articlecs6 Exr saving issue.
Hey everyone, I'm trying to update a portion of my .jsx code that worked in CS5, and now doesn't work in CS6.. EXR format is now included in CS6, and handles the alpha channel differently, basically it...
View Articleapplescript, CS5 to CS6, files won't close
This is the part of my script, that runs from with photoshop. on CS5 it opened and closed everything without a problem, however in CS6 it processes the images but does not close them. Can anyone see...
View ArticleIs there any event listener for changing the selection of layer?
Hi all, I am looking into an event listener which fires on changing the selection of layer. I found 'Select' event listener which fires on selecting the different object. Actually the problem with...
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 Article