I can create a Windows dialog box to select a folder (to process .png images) with this
var filterFiles = "PNG:*.png"; // I am windows
var inFolder = Folder.selectDialog("Please select FOLDER to process", filterFiles);
if (inFolder != null)
{
var fileList = inFolder.getFiles(/\.(png)$/i);
}
But... how do I get the script to show the dialog that shows all files in it. Like this:
