ChooseFolderDialog works perfectly for me on El Capitan, but on 10.13.5 I’m getting nothing from it. The binary appears to change with various choices, but I can never get a result. Can anyone else confirm that it’s the OS and not some other factor?
In Panorama 6, the ChooseFolderDialog statement works by running an AppleScript. Here’s the code.
try
set thisFolder to choose folder
on error
return "User clicked cancel"
end try
tell application "System Events"
return id of thisFolder
end tell
So Jim or Robert, it would be interesting to know if this code runs correctly in Script Editor on 10.3.5.
Some other statements that use AppleScript include CURL, REVEALINFINDER, LISTLONGFILES and MACOSCOMPUTERNAME. Do any of those work? Question is, is there a problem specific to the AppleScriptCode in ChooseFolderDialog, or are AppleScripts in general broken? (I hope not the latter.)