I was poking around in my plugins folder and found a couple of things from 2013. One was Unminimize All Windows (of front application). It appears that I got it from Peter. Here’s the AppleScript text. Guess changing false to true would give me a script to minimize all windows of the front application.
tell application (path to frontmost application as text) try using terms from application "Mail" set miniaturized of windows to false -- most apps end using terms from end try try using terms from application "Finder" set collapsed of windows to false -- Finder end using terms from end try end tell
If you want to leave the frontmost window unminiimized, just use rest of windows