Need help searching through sub-directories
I need to search through multiple subdirectories, which contain exactly 2 images in each. One original image and one possible updated image.I then need to compare the 2 imagesnewLayer.blendMode =...
View ArticleFind and replace text in multiple Photoshop files?
Hi there, Let us say I have six Photoshop files: 1.psd, 2.psd, ..., 6.psd. All of these files contain the word “LoremIpsum” in random text layers, within each document. Is there a way I can search for...
View ArticleJS/PS CS3: identify single pixels sticking out
In a bitmap, is it possible to identify single pixels sticking out from a shape? Let's say I have this black shape in a black-and-white bitmap: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx x an...
View Articleapplescript error I don't understand why its occuring
Im writing a script that will convert photos from color to black and white. I wrote it at home on cs 5.1 and it worked flawlessly, but when I took it to work on a cs6 version it went buggy. again the...
View ArticleReduce a Layer's Opacity, Then Export as .png
Hello all. I would like to create a script (I don't think I can do it as an action) to reduce a layer's opacity by 3%, then export the file as a .png. Is this possible? I've seen where it would be...
View Articleselecting a required part of image only in a batch process
There is an image of apple on white canvas. I want to crop it in a way so that my new image will contain only required part(apple only). To explain it clearly I have drawn a black rectangle around...
View ArticleCrop image from vb.net
I assumed that cropping an image would be an extremely easy thing to do from .net. But no matter what I try I just cannot seem to get the thing to work. The documentation is somewhat vague - 'The...
View ArticleChange foreground color according to clipboard
Hi! Is there a way to change the foreground color according to the clipboard contents? In other words: let's say the clipboard contains ffdf00 (which is a yellow-ish color) How can I copy that...
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 ArticleOpen / download remote file
Hi, Is it possible to open / download a file (image file, psd file) hosted on a server, using ExtendScript?Seems like File / Folder class are meant to be used for local files only. I was wondering if...
View ArticleHow to close and re-open dialog using 'Retry' button without spawning...
Hello, I've got a function, part of which attempts to communicate with an API at work (I've removed the name of the actual website to protect identity). Occasionally, the content management system we...
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 ArticleHow to make a script to resize image to fit exact frame?
Good afternoon, My friend is working on a task to make multiple images fit the frame size 500x700 px. We work out this script, though it sometimes makes Height above 700 px. Can anyone help to edit...
View ArticleScripting a JPEG 'Save As'
I'm doing some work for my company and I need to do what is essentially stop-motion animation... I have my base .psd file, I move a layer in it slightly, save it as a .jpeg, and repeat. And repeat,...
View ArticleHow to get event target?
I've registered the following Hide event: app.notifiers.add("Hd ", ...file path); Now, how can get object that triggered the event? [app.active document.activeLayer] only give me the 'selected'...
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 ArticleHow can I edit a droplet for Photoshop 6?
How can I edit a droplet for Photoshop 6? The company hired somebody to set up the droplet years ago, and nobody remembers how it was set up. The computer that was used to save the files has crashed,...
View ArticleRepositioning Layer Not Working In Adobe Photoshop CC (but works in CS6)
I have a simple script that pulls in a layer set from another open image, resizes, and moves the layer to the bottom right of the image. Logo branding for photography, basically. Seems to work fine in...
View ArticleScript for deleting Hidden Layers which are not used in any Layer Comp?
Hello. I've turend the web upside down searching for a script that would do the following: Search through all the layer comps in the documentCheck which layers are hidden on all Layer CompsRemove/mark...
View ArticleHow can I find the target/result of a photoshop event?
Hi all, Is there a method of retrieving information about the results of a Photoshop event? For example, after a Delete event ("Dlt ") can I get any information on what was deleted?Specifically my...
View Article