Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
In Finder, I had a ton of files selected, and I ran Get Info instead of Show Inspector. This opens an info window for each file, instead of a single multiple info window.
How can I close every info window without restarting Finder ?
You could also run this in AppleScript Editor:
tell application "Finder" to close every information window
Doing Option+Command+W will close all windows at once.
This works for any window based Application.