I know tell application "Finder" to open POSIX file "/folder/path/" will open a new finder window, how can I open a folder in the current finder window?

有帮助吗?

解决方案

I found the answer myself:

tell application "Finder"
    set the target of the front Finder window to (POSIX file "/folder/path/")
end tell
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top