Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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:
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