Вопрос

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