This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try | |
{ | |
var inputFolder = Folder.selectDialog("Select a folder to process"); | |
var fileList = inputFolder.getFiles("*.png"); | |
var initialPrefs = app.preferences.rulerUnits; // will restore at end | |
app.preferences.rulerUnits = Units.PIXELS; // use pixels | |
var destFolder = Folder.selectDialog( "Choose an output folder"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try | |
{ | |
var inputFolder = Folder.selectDialog("Select a folder to process"); | |
var fileList = inputFolder.getFiles("*.png"); | |
var initialPrefs = app.preferences.rulerUnits; // will restore at end | |
app.preferences.rulerUnits = Units.PIXELS; // use pixels | |
var destFolder = Folder.selectDialog( "Choose an output folder"); |