Re: Need help from a developper for a simple script ;)
There are several ways to create a UI. I use the old method. How to create them and samples are in the extendscript toolkit SDK, but here's a brief sample var dlg = new Window('dialog','Title for...
View ArticleNeeded: snippet of jsx code to Rename an Action Step? Rename an Action Set?
I turned on script listener and found I could capture events to DELETE actions, and DELETE action sets, but it captured nothing on rename operations of Actions or Action Sets. I'm trying to support CS2...
View ArticleBulk text import and apply complex style (object group possibly?)
Hello! I need to prepare a kind of template for a folder page to present a number of products with their names. I am using PS CS3. Possibly some scripting will be required to achieve the effect? Please...
View ArticleRe: How to determine if layers overlap?
Ooo, that would speed it up a bit. This process will be getting repeated several times per image (up to several hundred times), so every little bit helps. The whole point of the script is to turn a...
View ArticleRe: How to determine if layers overlap?
The difference in the time it takes is actually not tremendous, maybe something like 0,2 seconds. And whether the histogram[0] value fits your needs (the two layers would both have to be fully solid at...
View ArticleRe: Bulk text import and apply complex style (object group possibly?)
I recommend not pursuing automating that task in Photoshop but in an application that is a better fit for page layout like Indesign or Illustrator. If you decide to use Photoshop anyway: I’m not sure...
View ArticleRe: How to determine if layers overlap?
Very interesting. And to answer your question, the layer selections will be automated as well. The only thing that will be done manually is any touch-up that's necessary to finalize the look of the...
View ArticleRe: Batch HDR Merging/Toning Script
Hi,thanks a lot for the script, ti's exactly what I need. Unfortunately, when I run it on a folder that contains three images per bracket, the script doesn't go in the order of the filenames, but...
View ArticleRe: how to make dynamic typing?
Actually I’m not sure what you want to achieve, so: What is Photoshop supposed to locate (existing Shape Layers, …) and what is it supposed to create (Shape Layers, …)?
View ArticleRe: Script to Save images in alternate folder before running an action
c.pfaffenbichler, not sure if that clears it up enough for me... the line you reference to replace does not exist, and im fiddling around with this not getting it to work just yet... care to elaborate?
View ArticleRe: Script to Save images in alternate folder before running an action
The 5 lines of code I posted were intended to serve as an example of a Folder selection dialog. In those lines the line I mentioned does exist.
View ArticleRe: Script to Save images in alternate folder before running an action
OK... but how do I modify my script to take all of the images in that folder and perform the backup, modifications and thumbnail generation
View ArticleRe: Script to Save images in alternate folder before running an action
Using c.pfaffenbichler's example, take the varible theFiles which should contain all the files you want to process and loop through them: for(var...
View ArticleSimulate a key press (Javascript)
I'm wondering if it's possible to make the program press a specific key (in my case - the escape key which has the key code 27 afaik)?I'm not going to use this to enter text into a field - but only to...
View ArticleRe: Simulate a key press (Javascript)
I don't think JS will let you do that - mainly for security reasons. They want actual keyboad input. However, you can record resetting the rotate tool with this code: var idslct = charIDToTypeID(...
View ArticleRe: Batch HDR Merging/Toning Script
someone had a very similar problem recently, try the most recent version, I just added a fix, let me know if it works
View ArticleRe: Script to Save images in alternate folder before running an action
just to be clear, it looks liek the above just makes the backup copy of it, right? how do I then loop them through my action, save, resize to thumb, and save thumb, and close?
View ArticleRe: Simulate a key press (Javascript)
Thanks, but that script doesn't seem to do anything for me. I created a new document, selected the rotate tool, rotated a bit and then ran the script and nothing happend.
View ArticleRe: Script to Save images in alternate folder before running an action
You just add your code inside the loop, after the copy line. You can use ScriptListener to record playing an action and then just put in new names of the actions if there are more than one, like:...
View ArticleRe: Simulate a key press (Javascript)
Yea, looking at the code, it is just for selection the rotation tool. The scriptlistener doesn't seem to record the actual reset.
View Article