I was looking for a solution to batch process multiple folders (not files) from a script and found this thread: https://forum.image.sc/t/multi-file-selection-ui/10139
#@ File syntax described by @imagejan to select multiple paths seems superful, thanks for adding this!
However, when I type:
#@ File (label="Input folder array", style="directory") multipleFolders
the file chooser lets me only select files, not directories.
#@ File (label="Input folder array", style="both") multipleFolders
it works and directories can be selected (and files).
Is this intended? Or am I missing something here?
A small question related to this: The Batch button in the script editor seems to only allow selecting multiple files, but not folders. Is there a simple workaround for selecting folders?
Thank you already!