标签: operating-system applescript directory filepath
我认为我的问题是文件路径中的空格。但我无法让它发挥作用。
以下是我要打开的文件夹路径:/Users/username/Library/Speech/Speakable Items
/Users/username/Library/Speech/Speakable Items
答案 0 :(得分:3)
假设你的路径是正确的,那就是:
tell application "Finder" open ("/Users/username/Library/Speech/Speakable Items" as POSIX file) end tell