When running this script a file selection dialog opens and allows to select multiple files, but cannot select all files by command + a
. Isn't this a bug? I use MacBook Air M2 + macOS Sonoma 14.6 (23G80).
#!/usr/bin/osascript -l JavaScript
const app = Application.currentApplication();
app.includeStandardAdditions = true;
app.chooseFile({
multipleSelectionsAllowed: true,
});