Created
February 25, 2023 15:21
-
-
Save onwp/fdb2df7db54a36f7e32d8561ee201af0 to your computer and use it in GitHub Desktop.
Tidy up your desktop icons on mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "System Events" | |
tell application "Finder" to activate desktop | |
tell process "Finder" | |
click menu item "Clean Up" of menu "View" of menu bar item "View" of front menu bar | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This script is written in AppleScript language.
AppleScript is primarily a scripting language developed by Apple to do inter-application communication (IAC) using Apple events.