Is it worth it for me to learn scripting in PS?
I have absolutely NO experience with javascript, and I have failed miserably every time I have attempted to learn. Should I leave Photoshop scripting to the pros? I work in an environment where we are...
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 ArticleSince the CC update Document.saveAs() always opens a dialog
Is anyone else seeing this?Is there a work around? This is a script I have been using for months to open Illustrator files in Phohoshop, resize them, and then save as PNG. The source images are...
View ArticleScript to open 2 versions of the same file one JPEG and one TIFF - the nrun...
I have 2 folders of images. One is a folder of JPEG files that have paths created for the image. The second folder is an identical image except it is a TIFF file with no path. I have created an...
View ArticleGetting help with Ps Scripting is a Nightmare
I've posted numerous times to get help with some scripts I'm working on. There is only one person who is active in this forum and that is c.pfaffenbichler, whom is helpful, but no one considers that...
View ArticleI need a script to replace layers. PS CS5
Ok, let's say I need to replace layer (x) with layer (y), of course, Layer (y) is not in the composition.(NOTE: layer (y) is a Vector Smart Layer while layer (x) is a regular layer named "Layer 4")And...
View ArticleExecute() command not working on Photoshop CC
This code works perfectly on CS6 but not on CC. Any ideas on how to solve it? var toGo = File(String("/Users/asouza/Documents/K3/test/test.log")); toGo.execute(); Thanks,Alex
View ArticlePhotoshop javascript: Open files in all subfolders
Hi guys I'm very new to javascript, and general Photoshop scripting. My script is coming on well, but I struggle working with files and folders. It's a lack of basic javascript knowledge, which I need...
View ArticleSet zoom in CS5
We've been using the below Java code to set the zoom of a document in Photoshop 7 (yeah, I know - ancient) to fit the screen (like hitting Ctrl + 0 on the PC) but it no longer works in CS6. The...
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 Article(CC) Save all Layer Masks as Alpha Channels
Hello,I've looked everywhere and can't seem to find a script to do this. I am looking for a script to simply check every layer for a layer mask and if there is one, save it as an alpha channel. The...
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 ArticleLooping for a Layer Name ?
I want to create a loop that checks if a layer with a set name is within a group, then save the layer group, if not, look outside any and all layer groups for a layer with a set name, if not, ignore...
View ArticleHELP NEEDED!! batching, overlaying, background cut out
Hi All, very new to this. I have 2500+ images (caracitures of cars on white backgrounds). I need to place ALL of them on to a BLACK tee shirt image for internet listing.So, how do I do this...
View ArticleSave as for layer group
app.documents.add( 4, 4 )jpgFile = new File( "/Temp001.jpeg" )jpgSaveOptions = new JPEGSaveOptions()jpgSaveOptions.embedColorProfile = truejpgSaveOptions.formatOptions =...
View ArticleWill KillWhite run on Photoshop CS6 64-bit?
So - now that I am in need of what looks like just the most perfect and amazing solution... am stymied about getting it to work with CS6 Photoshop Extended (64-bit) - what am I missing?When I run the...
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 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 Articlerotating brushes using file stream of saved brushes in javascript
Once again I’m fascinated by a query in the MacIntosh-forum which’s solution I suspect is within JavaScript’s reach but out of my depth – namely: Can one rotate a brush by Keyboard Shortcut, like in-...
View ArticleNaming Layer Set ?
var layer_c = app.activeDocument.layerSets.add();layer_c.layerSets.add().typename("layera"); How do I name a LayerSet ? What am I doing wrong ?
View Article