Open new Finder window using AppleScript

前端 未结 2 544
甜味超标
甜味超标 2021-01-18 07:22

How can I open a new window of Finder in AppleScript? I am using an if else statement to open a window. I tried an Osascript command but it gave me a syntax er

2条回答
  •  生来不讨喜
    2021-01-18 07:41

    My Alfred Workflow script:

    on alfred_script(q)

    tell application "Finder"
        make new Finder window
    end tell
    

    end alfred_script

提交回复
热议问题