Manage Edit Post Logout Login

Technical Notes

Documentation of fixes for programming/computing annoyances.

« Back to blog

AppleScript: Close all Finder windows except the front one

I often end up with tons of Finder windows open. I usually realize this when I ⌘-tab to Finder and notice there are 20 windows. I generally want to keep the frontmost window but close all the others. Turns out there is a super simple AppleScript to do this (source):


🌟 Was this page helpful? Please let me know with this quick, 3 question survey.

Upvote Upvoted 0
Tweet
Like this post?
Subscribe by email
You're following this blog. Unfollow
Follow this Posthaven
Enter your email address to get email alerts about new posts on this site. Unsubscribe anytime.
Email address is invalid.
0 responses
Add Website URL »

by Max Masnick

www.maxmasnick.com

Follow @_technotes on Twitter

Terms of use.
Posted

Tags

  • OS X
  • Finder
  • AppleScript