Skip to content

Instantly share code, notes, and snippets.

@derickfay
Last active February 18, 2021 01:39
Show Gist options
  • Save derickfay/7364223 to your computer and use it in GitHub Desktop.
Save derickfay/7364223 to your computer and use it in GitHub Desktop.
Merge all Finder windows - uses UI Applescript to execute the Finder menu command. There's a more error-proof version (not mine) in an Alfred workflow here: http://www.alfredforum.com/topic/3363-mavericks-merge-all-finder-windows/
tell application "System Events"
click menu item "Merge All Windows" of menu "Window" of menu bar item "Window" of menu bar 1 of application process "Finder" of application "System Events"
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment