Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我认为我的问题是文件路径中的空格。但我无法让它工作。
这是我要打开的文件夹路径:/Users/username/Library/Speech/Speakable Items
/Users/username/Library/Speech/Speakable Items
假设您的路径是正确的,它将是:
tell application "Finder" open ("/Users/username/Library/Speech/Speakable Items" as POSIX file) end tell