mac: opposite of command m

use the Command-Tab shortcut to get to the application. With the application selected press the Option key and release the Command key. One minimized window of the application will become un-minimized (if you have more than one minimized application window, you have to un-minimize the other windows the old fashioned way).

Alternatively you can use a utility like FastScripts to assign a keyboard shortcut to an Applescript file. I have set up Cmd+Option+M to run the following script which seems to work fine for most applications on OS X Lion:

tell application (path to frontmost application as text)
    try
        set miniaturized of windows to false -- most apps
    end try
    try
        set collapsed of windows to false -- Finder
    end try
end tell

-- Hack from willshouse.com to make sure Finder really does unminimize windows
if (name of (info for (path to frontmost application)) as text) is "Finder.app" then
    try
        tell application "Finder"
            set collapsed of windows to false -- Finder
        end tell
    end try
end if

Related Posts:

  • No Related Posts
This entry was posted in Mac, Tech Tips and tagged , , , , . Bookmark the permalink.

2 Responses to mac: opposite of command m

  1. Sameer says:

    Thank you! This is exactly what I was looking for — and the shortcut you recommended is great, too.

  2. Ryan says:

    What I typically do to access windows that I’ve minimized is while using cmd-Tab, I continue to hold command down then just hit the down arrow. This brings up all the windows that are open and I can use the arrows to select the minimized window and hit enter to bring it up.

Leave a Reply

Your email address will not be published. Required fields are marked *