Applescript to make new folder

后端 未结 5 1081
死守一世寂寞
死守一世寂寞 2021-01-16 03:10

I Want to make a new Folder command in apple script

Why dosent this script work?

tell application \"Finder\"
activate
end tell
tell application \"Sys         


        
5条回答
  •  甜味超标
    2021-01-16 03:40

    tell application "Finder"
    activate
    end tell
    tell application "System Events"
    tell process "Finder"
        tell menu bar 1
            tell menu bar item "File"
                tell menu "File"
                    click menu item "new folder"
                end tell
            end tell
        end tell
    end tell
    end tell
    
    --you capitalize the N in new folder the new folder button is not capped.
    

提交回复
热议问题