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
// ask user to select a folder | |
dir = getDirectory("Select A folder"); | |
// get the list of files (& folders) in it | |
fileList = getFileList(dir); | |
// prepare a folder to output the images | |
output_dir = dir + File.separator + " output" + File.separator ; | |
File.makeDirectory(output_dir); | |
//activate batch mode |