Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Batch translate layer in images residing in a folder for fixed x, and y amount. It will open each image file, then translate, then save the change replacing the file. If translating the layer outside of the image area, photoshop will interrupt and ask you whether or not to save. You can still continue to save manually. But make sure to select to…
var inputFolder = Folder.selectDialog ("Select a folder to process");
var fileList = inputFolder.getFiles("*.png");
for(var i=0; i<fileList.length; i++) {
backFile = app.activeDocument;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment