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.
我知道tell application "Finder" to open POSIX file "/folder/path/"会打开一个新的finder 窗口,如何在当前finder 窗口中打开一个文件夹?
tell application "Finder" to open POSIX file "/folder/path/"
我自己找到了答案:
tell application "Finder" set the target of the front Finder window to (POSIX file "/folder/path/") end tell