如何在“当前查找器”窗口中打开带有AppleScript的文件夹?

如何在“当前查找器”窗口中打开带有AppleScript的文件夹?,applescript,finder,Applescript,Finder,我知道告诉应用程序“Finder”打开POSIX文件“/folder/path/”将打开一个新的Finder窗口,如何在当前的Finder窗口中打开文件夹?我自己找到了答案: tell application "Finder" set the target of the front Finder window to (POSIX file "/folder/path/") end tell 我自己找到了答案: tell application "Finder" set the

我知道
告诉应用程序“Finder”打开POSIX文件“/folder/path/”
将打开一个新的Finder窗口,如何在当前的Finder窗口中打开文件夹?

我自己找到了答案:

tell application "Finder"
    set the target of the front Finder window to (POSIX file "/folder/path/")
end tell

我自己找到了答案:

tell application "Finder"
    set the target of the front Finder window to (POSIX file "/folder/path/")
end tell