如何在当前查找程序窗口中使用AppleScript打开文件夹?

时间:2013-10-07 18:47:00

标签: applescript finder

我知道tell application "Finder" to open POSIX file "/folder/path/"会打开查找器窗口,如何在当前查找程序窗口中打开文件夹?

1 个答案:

答案 0 :(得分:0)

我自己找到了答案:

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