How to minimize all open windows at once

Is there a way to minimize all the open windows at once?

Sometimes I want to get to my desktop quickly and I’ll have 10 freakn windows I must close first. Can I just press Ctrl+ something and get it done?

5 Answers

You can also set up the quick launch bar, there is a show desktop button that will minimize all windows at once.

Right click on the task bar, properties, show quick launch. The show desktop button and internet explorer are setup on it automatically. You can also drop frequently used programs there to quickly open other apps without having to minimize windows, go through the start menu etc.

If you are using Windows, hold down the Windows key (at the bottom, in between Ctrl & Alt) and tap the M key.

This will minimize all open windows at once.

If you’re using Windows 2000, right click on a blank area of the taskbar (bottom of your screen) select «Minimise All»

If you’re using XP. select «Show the Desktop»

In all Windows OS ( from 95 and above ) .

From your keyboard press..

I find the windows key + m works well for preventing an awkward situation when family charges in on my farmcum.com sessions. 😉

Answer Questions

Answer Questions

Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Minimize all open windows?

I need to perform the same task as WindowsKey + M through code, ie. minimize all open windows. This must be done through the Win32 API, not .Net.

I tried the following in FreeBasic, but nothing happens:

Does someone know how to do this?

Edit: Here’s the working solution:

3 Answers 3

This seems like a bit of a hack to me, but the following does seem to accomplish what you are looking for (in C):

When you have the handle of a window, you can make it minimize with the WM_SYSCOMMAND message. E.g.:

So all you would need to do is enumerate the top-level windows (with the EnumWindows command) and send that command to the windows you want to minimize (which wouldn’t be all top-level windows — probably only visible, overlapped windows without the WS_EX_TOOLWINDOW extended style should be minimized like this).

Putting this out as an option, not a recommendation — simulating the keyboard events for Win-M :

Not the answer you’re looking for? Browse other questions tagged winapi or ask your own question.

Hot Network Questions

Subscribe to RSS

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.4.16.39093

Читайте также:  Mac os распаковать zip

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

How do I minimize all windows at once?

xi mezmerize ix

macrumors 6502a

GGJstudios

macrumors Westmere

F11 (or fn+F11, depending on what option you have selected) to Show Desktop, otherwise known as Hide All. It doesn’t really minimize them, though. It moves them all off the screen.

Option+Command+M will minimize all windows of the active application, but not all windows of all applications.

calderone

Cancelled

Which is the same as a four finger swipe up. The OP wants to minimize all windows.

I suppose the easiest way would be command + option + H to «Hide Others» and then command + H to hide the current application.

Command + H may vary by Application, for example Photoshop is control + command + H.

GGJstudios

macrumors Westmere

calderone

Cancelled

Have you setup any system wide commands? Those will override the per-application commands. The majority of apps follow the command + H standard.

Attachments

xi mezmerize ix

macrumors 6502a

Have you setup any system wide commands? Those will override the defaults. The majority of apps follow the command + H standard.

GGJstudios

macrumors Westmere

Have you setup any system wide commands? Those will override the per-application commands. The majority of apps follow the command + H standard.

calderone

Cancelled

This was in response to GGJ as command + H wasn’t working for him.

You should be able to use those commands.

Command + H to hide the current application

Command + Option + H to hide others

This technically does not minimize the applications, but this is as close as you will get (quickly) as far as I know.

slpdLoad

macrumors 6502a

Those were referring to changing the defaults for hiding an app as in the Photoshop discussion. Wouldn’t let you minimize all the windows at once as you are looking to do.

wrldwzrd89

macrumors G5

GGJstudios

macrumors Westmere

calderone

Cancelled

Those were referring to changing the defaults for hiding an app as in the Photoshop discussion. Wouldn’t let you minimize all the windows at once as you are looking to do.

This script has a record of not working for some. On my machine, it doesn’t do anything.

I wouldn’t recommend it. Plus, it is poorly written IMO.

EDIT:
Assuming you have no finder windows open, this will effectively «minimize» all applications.

Not to deter you from minimizing, but hiding in this case (which is different from expose hiding) is my preferred method. As, after hiding and clicking the application in the dock it restores the windows how you had them.

Attached is a service which you can drop in to your Services folder (

/Library/Services), or the local Services folder (/Library/Services) and be bound to a shortcut in System Preferences > Keyboard > Keyboard Shortcuts > Services.

EDIT 2:
I just tested this with a menulet I am writing, you can bind this to applications that appear in the menubar only. Such as Quicksilver or iStatMenus. This way, everything would indeed be «minimized.»

10 tips for managing minimized windows

Do you minimize your windows with abandon, crowding your Dock with miniature documents? Do you rarely minimize anything, crowding your screen with multiple windows? Knowing the big and small options for this basic window-wrangling feature can save you both time and space.

1. Minimize windows with a double-click in the title bar

When you want to minimize a screenwide window, you don’t have to travel over to its yellow minimize button or let go of your mouse to use the Command-M shortcut.

You have another option: Go to the Dock pane of System Preferences and check Double-click a window’s title bar to minimize. From then on, you’ll have that option, too.

Читайте также:  Бэкап для linux mint

2. Minimize a background window

A window’s control buttons work even if the window is in the background. That means you can de-clutter your screen by clicking a window’s yellow minimize button without clicking on the window to bring it forward first.

You can even use the title-bar double-click trick described above to shrink a background window if you combine it with another window-handling trick. Pressing Command lets you drag a background window around without bringing it forward, so pressing Command while double-clicking a background window’s title bar minimizes the window without activating it.

3. Prevent minimized windows from crowding the Dock

Does a Dock full of tiny, impossible-to-identify windows strike you as a waste of space? Go to the System Preferences Dock pane and select Minimize windows into application icon. A window will zoom “into” its app’s icon instead of seeking its own spot in the Dock.

4. Retrieve a minimized window

So once you’ve minimized a window, what’s the best way to get it back? You have three basic choices. Click the minimized window in the Dock. Control-click the app’s Dock icon and select the window from the menu that appears. Or, if the app has a Window menu, choose the window from there.

Menu choices are often more convenient to use when you have multiple windows minimized, because you can scan their names quickly. Even if you don’t minimize windows into their app icons, they’ll be listed in the icon’s menu. (Minimized windows are marked with a diamond in both icon menus and an app’s Window menu.)

When you have umpteen minimized windows, however, a trip to Mission Control is often the easiest and quickest way to retrieve one—a procedure worth its own, separate tip.

5. Use Mission Control to access minimized windows

If you’re a heavy-duty minimizer, the best way to manage your minimized windows is in the Application Windows view of Mission Control. You can see all your windows at once, their thumbnails are large enough to let you identify a document at a glance, and you can retrieve them with a mouse-button, trackpad, or keyboard approach.

How do you get to Mission Control’s window view? Use Apple’s System Preferences to set up several ways, and use whichever one is most convenient one at any given time. To begin, select Apple Menu > System Preferences.

Mission Control pane: Use the pop-up menus next to ‘Application windows’ to set a basic keyboard command and/or mouse-button options.

Keyboard pane: If the shortcuts offered by the Mission Control pane aren’t to your liking, invent your own. Click the Keyboard Shortcuts tab, click Mission Control on the left, and then check the Application windows checkbox on the right to activate it. To change the default keyboard shortcut, click Application windows to select it (checking it doesn’t actually select it); click the current shortcut to make it editable, and then press the shortcut you want.

Trackpad pane: My favorite way to access Mission Control’s Application Windows view is a trackpad swipe. Click the More Gestures tab in this pane, check the App Exposé option to turn it on, and then click the menu below it to select a swipe option.

When you go to Mission Control’s Application Windows view with your shortcut, you’ll see the app’s open windows as large icons and the minimized apps as miniature icons, or thumbnails, in a row along the bottom of the screen.

Retrieve a window by clicking on it. Or, use the down-arrow key to move from the large windows to the minimized thumbnails, and then the right and left arrow keys to select one; press Return to retrieve it.

6. Minimize all windows for an application

When you have a bunch of windows open in an application and want to minimize all of them at once, add the Option key to any of the methods for minimizing a single window. Option-click a window’s yellow Minimize button. Press Command-Option-M. Or, Option-double-click a window’s title bar if you’ve turned on that capability as described in the first tip.

Читайте также:  C windows system32 installer

7. Retrieve all windows for an application

Adding the Option key can also change some of the ways you retrieve a minimized window into a “retrieve all” operation. Option-click a minimized window in the Dock to retrieve all the minimized windows for its application. Or, Option-click one of the minimized window thumbnails in Mission Control to open all the windows for the application.

8. Close a minimized window without retrieving it first

You can close minimized documents from Microsoft Office apps without first retrieving them from the Dock (I haven’t found any other apps that provide this occasionally handy option). Control-click (or right-click or use a two-finger tap) on the window’s icon, and then choose Close from the pop-up menu. If the document hasn’t been saved, the window opens in its app so that you can save it.

9. Open a minimized window on the current desktop

Say you’ve set things up so that Microsoft Word is running on one desktop and Safari is on another. (For more information, read about multiple desktops and Mission Control). You’ve done your research in Safari and minimized some informative windows into the Dock along the way. You’re in Word and you want to see one of those windows side by side with your Word document so you can make notes.

The step-by-familiar-step way to do this starts with clicking the minimized window, which opens it and moves you to Safari. Then you enter Mission Control via your favorite method, where you drag the now unminimized Safari window from the current desktop to the desktop where Word lives. Finally, you click the Word desktop to move to it and come out of Mission Control.

Here’s the clever way: While in Word, Command-click the minimized Safari window to open it into the current desktop.

10. Retrieve a recently minimized window

Did you mean to hit Command-N for a new window but hit Command-M instead, minimizing an existing window? Wouldn’t it be nice simply to press a keyboard combo to get the window back when you’re working on a 27-inch screen and you’re far away from the Dock? OS X still offers no built-in method for doing this.

There is, however, a shortcut for retrieving a recently minimized window in an app other than the one you’re working in. Press Command-tab to open the Application Bar and move to the application you want by pressing the Tab or tilde (

) key. With the Command key still held down, press Option; then, keeping the Option key down, release the Command key. Presto! The selected program comes to the foreground, and its most recently minimized window opens. (This is a lot easier than it sounds—especially with a little practice.)

So how does that help when you want a minimized window back in the current application? Simply press Command-Tab to move to another program, release the keys, and press Command-Tab again to move back to your original program, pressing Option before you release Command.

Bonus tip: In many applications, if you try this Option-key trick when there are no open or minimized windows, you’ll get a new, empty document window as you move into the app. Move to a window-less Finder, and it opens the default window you’ve set in the Finder Preferences; move to Mail if you previously closed the Message window, and the Message window reopens.

Оцените статью