문제

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