macOS tidy up desktop icons (apple script)

If you want to tidy up your desktop icons from time to time, just save the file (file extension should be .scpt) and run it whenever you want.

mac-tidy-up-desktop.scpt
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

Leave a Reply

Your email address will not be published. Required fields are marked *