Sure. Put this all into a .jsx-file, record an action where you play said jsx through "File" > "Scripts" > "Browse...", and set a shortcut (eg. F2 or whatever). Each time you press F2 you'll get this script, and you can play whatever set/action (or script if you use the...
Hey! Based on the example given, I think you're better off with doing this in eg. powershell or a .bat-script. Photoshop Javascript doesn't support moving of files & folders. OK, moving files can be done but it's slow as heck...
This works better though: function main() { var folder = Folder.selectDialog("Select a folder to list files from"); var RW_destination = folder; if (!folder) return; var includePaths = confirm("Do you want to include file paths in the results?"); var fileList = []; getFileList(fo...
Is this kind of what you're looking for? function hideShowLayersByName(nameString, visibilityFlag) { var doc = app.activeDocument; // Get the active document var layers = []; // Array to store layers // Function to recursively add all layers to the array (includes layer sets) function getLayers(laye...
Nothing shiny, but it does a job - there's room for MASSIVE improvement - please help out if you find it useful: // Function to get all layer names in a document function getLayerNames(doc) { var layers = []; for (var i = 0; i < doc.layers.length; i++) { layers.push(doc.layers[i].name); } return lay...
I am also looking for something similar to this. A coworker of mine apparently worked with a guy that did more or less what you're asking for, so it should be possible. I've asked him multiple time for the contact to that guy but he cannot remember his name etc... For the past couple of days I've be...
Aw dang. Noted. If the natural/added light were constant across the images I'd say copy the changes directly from one to another and use curves to match the brightness. But that's not the case. Hm. I am unsure if evern ScriptingListener will help you, but here's a startingpoint: http://www.earthboun...
Alright, I see your problem. An alternative workflow would be to use a separate layer that you draw on with the brush tool. Then you set the action to make a selection of the said layer, delete layer then run "content aware fill" on the areas you've marked. This would in theory get you the...