我在使用包含空格的文件夹路径执行AppleScript时遇到麻烦。我该如何解决这个问题?预先谢谢你。
tell application "Finder"
set myWin to window 1
set thePath to (quoted form of POSIX path of (target of myWin as alias))
tell application "Terminal"
activate
tell window 1
do script "/Users/johndoe/Company Dropbox/John Doe/Folder " & thePath
end tell
end tell
end tell