Windows and How to Work Them

In designing OS X, one of Apple’s key goals was to address the window-proliferation problem. As you create more files, stash them in more folders, and launch more programs, it’s easy to wind up paralyzed before a screen awash with overlapping rectangles. That’s the problem admirably addressed by Mission Control, described in detail on Starting Split Screen Mode, Method 2. Some handy clutter and navigation controls are built into the windows themselves, too. For example:

The Sidebar

The Sidebar (Figure 1-3) is the pane at the left side of every Finder window, unless you’ve hidden it. (It’s also at the left side of every Open dialog box and every full-sized Save dialog box.) It’s slightly translucent—your desktop picture shines through it just a little bit.

The Sidebar has as many as four sections, each preceded by a collapsible heading.

Note

The little flippy triangles that could collapse (hide) each Sidebar heading are gone. Instead, if you point to a heading without clicking, a tiny Hide or Show button appears. Click it to collapse or expand that heading’s contents.

Good things to put in the Sidebar: favorite programs, disks on a network you often connect to, a document you’re working on every day, and so on. You can drag a document onto a folder icon to file it there, drag a document onto a program’s icon to open it with the “wrong” program, and so on.

Figure 1-3. Good things to put in the Sidebar: favorite programs, disks on a network you often connect to, a document you’re working on every day, and so on. You can drag a document onto a folder icon to file it there, drag a document onto a program’s icon to open it with the “wrong” program, and so on.

Here are the headings you’ll soon know and love. (You can drag these headings up and down in the Sidebar to rearrange them.)

  • Favorites. This primary section of the Sidebar is the place to stash things for easy access. You can stock this list with the icons of disks, files, programs, folders, and the virtual, self-updating folders called saved searches.

    Each icon is a shortcut. For example, click the Applications icon to view the contents of your Applications folder in the main part of the window. And if you click the icon of a file or a program, it opens.

    Here, too, you’ll find the icons for important Mac features like All My Files (see the box below); AirDrop, the instant file-sharing feature described on AirDrop; and the fantastic iCloud Drive (Revert).

  • Shared. Here’s a complete list of the other computers on your network whose owners have turned on File Sharing, ready for access (see Chapter 12 for details). Back to My Mac (Screen sharing with Back to My Mac) also is listed here.

  • Devices. This section lists every storage device connected to, or installed inside, your Mac: hard drives, iPhones, iPads, iPods, CDs, DVDs, memory cards, USB flash drives, and so on. (Your main hard drive doesn’t usually appear, but you can drag it here.) The removable ones (like CDs, DVDs, and i-gadgets) bear a little gray logo, which you can click to eject that disk.

  • Tags. This section lists all your Finder tags (color-coded keywords). See Broken Aliases for more on tags.

Note

If you remove everything listed under one of these headings, the heading itself disappears to save space. The heading reappears the next time you put something in its category back into the Sidebar.

Fine-tuning the Sidebar

The beauty of this parking lot for containers is that it’s so easy to set up with your favorite places. For example:

  • Remove an icon by dragging it out of the Sidebar entirely. It vanishes with a puff of smoke (and even a little whoof sound effect). You haven’t actually removed anything from your Mac; you’ve just unhitched its alias from the Sidebar.

    Tip

    You can’t drag items out of the Shared list. Also, if you drag a Devices item out of the list, you’ll have to choose Finder→Preferences→Sidebar and then turn on the appropriate checkbox to put it back in.

  • Rearrange the icons by dragging them up or down in the list. For example, in El Capitan, hard drives no longer appear at the top of the Sidebar, but you’re free to drag them back into those coveted spots. (You’re not allowed to rearrange the computers listed in the Shared section, though.)

  • Rearrange the sections by dragging them up or down. For example, you can drag Favorites to the bottom but promote the Shared category.

  • Install a new icon by dragging it off your desktop (or out of a window) into any spot in the Favorites list of the Sidebar. Press the ⌘ key after beginning the drag. You can’t drag icons into any section of the Sidebar—just Favorites.

    Tip

    You can also highlight an icon wherever it happens to be and then choose File→Add to Sidebar, or just press Control-⌘-T.

  • Adjust the width of the Sidebar by dragging its right edge—either the skinny divider line or the extreme right edge of the vertical scroll bar, if there is one. You “feel” a snap at the point when the line covers up about half of each icon’s name. Any covered-up names sprout ellipses (…) to let you know there’s more (as in “Secret Salaries Spreadsh…”).

  • Hide the Sidebar by pressing ⌘-Option-S, which is the shortcut for the View→Hide Sidebar command. Bring the Sidebar back into view by pressing the same key combination (or by using the Show Sidebar command).

Tip

You can hide and show the Sidebar manually, too: To hide it, drag its right edge all the way to the left edge of the window. Unhide it by dragging the left edge of the window to the right again.

Then again, why would you ever want to hide the Sidebar? It’s one of the handiest navigation aids since the invention of the steering wheel. For example:

  • It takes a lot of pressure off the Dock. Instead of filling up your Dock with folder icons (all of which are frustratingly alike and unlabeled anyway), use the Sidebar to store them. You leave the Dock that much more room for programs and documents.

  • It’s better than the Dock. In some ways, the Sidebar is a lot like the Dock, in that you can stash favorite icons of any sort there. But the Sidebar reveals the names of these icons, and the Dock doesn’t until you use the mouse to point there.

  • It makes ejecting easy. Just click the button next to any removable disk to make it pop out.

  • It makes burning easy. When you’ve inserted a blank CD or DVD and loaded it up with stuff you want to copy, click the button next to its name to begin burning that disc.

  • You can drag onto its folders and disks. That is, you can drag icons onto Sidebar icons, exactly as though they were the real disks, folders, and programs they represent.

  • It simplifies connecting to networked disks. Park your other computers‘ shared folder and disk icons here, as described in Chapter 12, to shave several steps off the usual connecting-via-network ritual.

Title Bar

The title bar (Figure 1-4) has several functions. First, when a bunch of windows are open, the darkened title bar, window name, mini-icon, and colored left-corner buttons tell you which window is active (in front); in background windows, these elements appear dimmed and colorless. Second, the title bar acts as a handle that lets you move the window around on the screen.

You can also move a window by dragging the solid gray strip on the bottom, assuming you’ve made it appear (choose View→Status Bar or View→Show Path Bar).

Tip

Here’s a nifty keyboard shortcut: You can cycle through the different open windows in one program without using the mouse. Just press ⌘-~ (that is, the tilde key, to the left of the number 1 key on U.S. keyboards). With each press, you bring a different window forward within the current program. It works both in the Finder and in your everyday programs, and it beats the pants off using the mouse to choose a name from the Window menu. (Note the difference from ⌘-Tab, which cycles through different open programs.)

When Steve Jobs unveiled Mac OS X at Macworld Expo in 2000, he said his goal was to oversee the creation of an interface so attractive “you just want to lick it.” Desktop windows, with their juicy, fruit-flavored controls, are a good starting point.

Figure 1-4. When Steve Jobs unveiled Mac OS X at Macworld Expo in 2000, he said his goal was to oversee the creation of an interface so attractive “you just want to lick it.” Desktop windows, with their juicy, fruit-flavored controls, are a good starting point.

After you’ve opened one folder that’s inside another, the title bar’s secret folder hierarchy menu is an efficient way to backtrack—to return to the enclosing window. Get in the habit of right-clicking (or two-finger clicking, or Control-clicking, or ⌘-clicking) the name of the window to access the menu shown in Figure 1-5. (You can release the Control or ⌘ key immediately after clicking.)

By choosing the name of a folder from this menu, you open the corresponding window. When browsing the contents of the Users folder, for example, you can return to the main hard drive window by right-clicking or two-finger clicking the folder name “Users” and then choosing Macintosh HD from the menu.

Tip

Keyboard lovers, take note. Instead of using the title bar menu, you can also jump to the enclosing window by pressing ⌘- (up arrow), which is the shortcut for the Go→Enclosing Folder command. Pressing ⌘- (down arrow) takes you back into the folder you started in, assuming that it’s still highlighted. (This makes more sense when you try it than when you read it.)

Right-click or two-finger click a Finder window’s title bar to summon the hidden folder hierarchy menu. This trick also works in most other OS X programs. For example, you can right-click a document window’s title to find out where the document is actually saved on your hard drive.

Figure 1-5. Right-click or two-finger click a Finder window’s title bar to summon the hidden folder hierarchy menu. This trick also works in most other OS X programs. For example, you can right-click a document window’s title to find out where the document is actually saved on your hard drive.

Once you’ve mastered dragging, you’re ready for these title bar tips:

  • Pressing thekey lets you drag the title bar of an inactive window—one that’s partly covered by a window in front—without bringing it to the front. (Drag any empty part of the title bar—not the title itself.)

    By the way, you can close, minimize, or full-screenize a background window without the help of the ⌘ key. Just click one of those three corresponding title-bar buttons normally, even if the window you’re working on is in front of it.

  • Double-clicking the title bar is a special technique: It zooms the window, enlarging it enough to reveal all the icons inside it (or, in programs, large enough to reveal all the text, graphics, or music). If your monitor isn’t big enough to show all the icons in a window, then the window grows to show as many as possible.

    With a quick visit to System Preferences→Dock, though, you can change things up. You can turn on “Double-click a window’s title bar to minimize.” Now double-clicking the title bar makes the window collapse into the Dock, exactly as though you had clicked the Minimize button.

Tip

If you’ve turned on that “minimize” option, then you can minimize all desktop windows, sending them flying to the Dock, when you double-click the title bar while pressing the Option key.

Close Button

As the tip of your cursor crosses the three buttons at the upper-left corner of a window, tiny symbols appear inside them: , , and . Ignore the gossip that these symbols were added to help color-blind people who can’t distinguish the colors red, yellow, and green. Color-blind people are perfectly capable of distinguishing the buttons by their positions, just as they do with traffic lights.

But for people who aren’t paying attention to button position, these cues distinguish the buttons when all three are identical shades of gray, as they are when you use Graphite mode (System Preferences). They also signal when it’s time to click. For example, as described in the previous section, you can use these three buttons even when the window is not at the front. You know the buttons are ripe for the clicking when you see the little symbols appear under your cursor.

The most important window gadget is the Close button, the red, droplet-like button in the upper-left corner (Figure 1-4). Clicking it closes the window, which collapses back into the icon from which it came.

Tip

If, while working on a document, you see a tiny dot in the center of the Close button, OS X is trying to tell you that you haven’t yet saved your work. (It doesn’t appear in Auto Save programs like TextEdit.) The dot goes away when you save the document.

The universal keyboard equivalent of the Close button is ⌘-W (for window)—a keystroke well worth memorizing. If you get into the habit of dismissing windows with that deft flick of your left hand, you’ll find it far easier to close several windows in a row, because you won’t have to aim for successive Close buttons.

In many programs, something special happens if you’re pressing the Option key when using the Close button or its ⌘-W equivalent: You close all open windows. This trick is especially useful in the Finder, where a quest for a particular document may have left your screen plastered with open windows for which you have no further use. Option-clicking the Close button of any one window (or pressing Option-⌘-W) closes all of them.

The Option-key trick doesn’t close all windows in every program—only those in the current program. Option-closing a Microsoft Word document closes all Word windows, but your Finder windows remain open.

Moreover, Option-closing doesn’t work in all programs.

Minimize Button

Click this yellow dot to minimize any Mac window, sending it shrinking, with a genie-like animated effect, into the right end of the Dock, where it then appears as an icon. The window isn’t gone. It’s just out of your way for the moment, as though you’ve set it on a shelf. To bring it back, click the newly created Dock icon; see Figure 1-6. Chapter 4 has more on the Dock.

Minimizing is a great window-management tool. In the Finder, minimizing a window lets you see whatever icons were hiding behind it. In a web browser, minimizing lets you hide a window that has to remain open (because you’re waiting for some task to finish) so you can read something else in the meantime.

Clicking the Minimize button sends a window scurrying down to the Dock, collapsing in on itself as though being forced through a tiny, invisible funnel. A little icon appears on the lower-right corner of its minimized image to identify the program it’s running in.

Figure 1-6. Clicking the Minimize button sends a window scurrying down to the Dock, collapsing in on itself as though being forced through a tiny, invisible funnel. A little icon appears on the lower-right corner of its minimized image to identify the program it’s running in.

And now, some Minimize button micro-goodies:

  • If you enjoy the ability to roll up your windows in this way, remember that you actually have a bigger target than the tiny Minimize button. You can make the entire title bar a giant Minimize button, as described on Title Bar.)

    Better yet, you can also minimize the frontmost window of almost any program (including the Finder) from the keyboard by pressing ⌘-M. That’s a keystroke worth memorizing on Day One.

  • Option-clicking one minimized window on the Dock un-minimizes all a program’s windows—at least for Cocoa programs (iCloud Drive on Other Devices).

    Tip

    OS X can change menu commands as you press modifier keys. For example, open a couple of Finder windows and then click the Window menu. Focus on the Minimize Window command. Now press Option and watch both the wording and the listed keyboard equivalent change instantly to Minimize All (Option-⌘-M).

    The Option key works wonders on the File menu, too.

  • In the bad old days (up to late 2009), minimizing a bunch of documents could get really messy. Each one flew onto the Dock, putting a new icon there, creating a tighter and tighter squeeze, shrinking the Dock’s icons until they were the size of Tic Tacs.

    Nowadays, your document windows can minimize themselves into their program’s Dock icon, rather than creating new Dock icons for themselves. That way, your Dock doesn’t get any more crowded, and the icons on it don’t keep shrinking away to atoms.

    To turn on this feature, choose →System Preferences→Dock. Turn on “Minimize windows into application icon.”

    So how do you get those windows back out of the Dock icon? You use Dock Exposé, which is described on Desktop Exposé.

Full Screen Button

In 2014’s OS X Yosemite, Apple changed the purpose of this third dot, the green one, on every window’s title bar (in most programs, anyway). A click here throws the window into Full Screen mode, in which the menu bars and window edges disappear, in the name of making your window fill your screen edge to edge. See The “Heads-Up” Program Switcher for details.

As your cursor approaches this green dot, a little indicator appears inside it: . That’s the hint that you’re about to enter Full Screen mode.

And once you’re in Full Screen mode, that shape changes to this: . That’s right: It’s the universal symbol for “Click me to leave Full Screen mode.”

In OS X versions before Yosemite, this button was called the Zoom button. It made a desktop window just large enough to reveal all the icons inside it (or, in programs, large enough to reveal all the text, graphics, or music). (The Window→Zoom command does the same thing, and so does double-clicking the title bar of a Finder window.)

And if you miss those hazy, happy days, just press the Option key as you click. The button sprouts a button, just as it did in the olden days. Now you’ll get a zoomed window instead of a full-screen one. (A second Option-click restores the window to its previous size.)

Note

Not all programs permit you to full-screenize their windows. In those apps, this green button displays the button and, when clicked, merely zooms the window.]

The Folder Proxy Icon

In the Finder, there’s a tiny icon next to the window’s name (Figure 1-7). It’s a stand-in—a proxy—for that window’s folder itself.

By dragging this tiny icon, you can move or copy the folder into a different folder or disk, into the Sidebar, into the Trash, or into the Dock without having to first close the window.

Tip

You have to hold down the mouse button on the folder proxy icon until the icon darkens before dragging. (It darkens in a fraction of a second.)

When you find yourself in a Finder window that contains useful stuff, consider dragging its proxy icon to the Dock. That will install its folder or disk icon there for future use. It’s not the same as minimizing the window, which puts the window icon into the Dock only temporarily.(Note: Most document windows also offer a proxy-icon feature, but it usually produces only an alias when you drag the proxy to a different folder or disk.)

Figure 1-7. When you find yourself in a Finder window that contains useful stuff, consider dragging its proxy icon to the Dock. That will install its folder or disk icon there for future use. It’s not the same as minimizing the window, which puts the window icon into the Dock only temporarily. (Note: Most document windows also offer a proxy-icon feature, but it usually produces only an alias when you drag the proxy to a different folder or disk.)

When you drag this proxy icon to a different place on the same disk, the usual folder-dragging rules apply: Hold down the Option key if you want to copy the original disk or folder; ignore the Option key to move the original folder. (You’ll find details on moving and copying icons in the next chapter.)

Many programs, including Microsoft Word, Preview, TextEdit, and others, offer the same mini-icon in open document windows. Once again, you can use it as a handle to drag a document into a new folder or onto a new disk. Sometimes, doing that really does move the document—but more often, you just get an alias of it in the new location.

The Finder Toolbar

Chapter 4 describes this fascinating desktop-window element in great detail.

Two Clicks, One Window

Double-clicking a folder in a window doesn’t leave you with two open windows. Instead, double-clicking a folder makes the contents of the original window disappear (Figure 1-8).

Tip

If you Option-double-click a folder, you don’t simply replace the contents of a fixed window that remains onscreen; you actually switch windows, as evidenced by their changing sizes and shapes.

To help you avoid window clutter, Apple has designed OS X windows so that double-clicking a folder in a window (top) doesn’t actually open another window (bottom). Every time you double-click a folder in an open window (except in column view), its contents replace whatever was previously in the window. If you double-click three folders in succession, you still wind up with just one open window.

Figure 1-8. To help you avoid window clutter, Apple has designed OS X windows so that double-clicking a folder in a window (top) doesn’t actually open another window (bottom). Every time you double-click a folder in an open window (except in column view), its contents replace whatever was previously in the window. If you double-click three folders in succession, you still wind up with just one open window.

So what if you’ve now opened inner folder B, and you want to backtrack to outer folder A? In that case, just click the tiny button—the Back button—in the upper-left corner of the window, or use one of these alternatives:

  • Choose Go→Back.

  • Press ⌘-[ (left bracket).

  • Press ⌘- (up arrow).

  • Choose Go→Enclosing Folder.

None of that helps you, however, if you want to move a file from one folder into the other, or to compare the contents of two windows. In that case, you probably want to see both windows open at the same time.

You can open a second window using any of these techniques:

  • Choose File→New Finder Window (⌘-N).

    Tip

    What folder contents fill the “new” window that appears when you use this command? Usually, it’s the All My Files folder, showing your entire universe of files.

    But you can choose any window you want. To make the change, choose Finder→Preferences. Click the General icon. Change the “New Finder windows show” pop-up menu to whatever folder you’d like to use as the starting point for your computing life. All My Files is a good choice; so is your Home folder. But you’re also free to choose your Documents folder, your iDisk, or any folder at all. Now every new Finder window shows you that specified folder, which is a much more useful arrangement.

  • ⌘-double-click a disk or folder icon.

  • Double-click a folder or disk icon on your desktop.

Old Finder Mode

The upper-right corner of every Finder window used to contain a little button that looked like a half-inch squirt of toothpaste. Clicking it entered Old Finder Mode.

Old Finder Mode (not the technical Apple term) was designed for people who come to OS X from an earlier version, like Mac OS 9, and lose half their hair when they discover how different things are in OS X.

In this mode, two of the biggest behavioral differences between OS X and its predecessors disappear:

  • The Sidebar and the toolbar blink out of sight.

  • Double-clicking a folder now works like it did back in 2000. Every time you double-click a folder, you open a new window for it.

The Old Finder Mode button no longer appears, but the mode itself is still available. Press Option-⌘-T, the equivalent for the View→Hide Toolbar command. (Repeat that keystroke or command to turn Old Finder Mode off again.)

Scroll Bars

Here’s one of the biggest changes from the OS X of old: Scroll bars don’t appear nearly as often as they used to (see Figure 1-9).

A scroll bar, of course, is the traditional window-edge slider that lets you move through a document that’s too big for the window. Without scroll bars, for example, you’d never be able to write a letter that’s taller than your screen.

Scroll bars don’t appear at all while you’re working (right); you have more screen area dedicated to your work. If you begin to scroll by sliding your fingers across the trackpad or Magic Mouse, the scroll-bar handle appears, so you know where you are (middle).At that point, if you point to the scroll bar, it fattens up so you can grab it (left).

Figure 1-9. Scroll bars don’t appear at all while you’re working (right); you have more screen area dedicated to your work. If you begin to scroll by sliding your fingers across the trackpad or Magic Mouse, the scroll-bar handle appears, so you know where you are (middle). At that point, if you point to the scroll bar, it fattens up so you can grab it (left).

On the very first Macs, scroll bars were a necessary evil; those computers were too slow and underpowered to manage visibly moving the contents of the window. That’s why scroll bars were invented in the first place: to give you some feedback about how far you were moving into a document, because the window itself went pure white when you dragged the handle.

Today, though, you can manipulate the contents of a window and see where you are at all times. Nobody questions the absence of scroll bars on an iPad, right? Because you just push the contents of a window around with your fingers to scroll.

In OS X, you scroll by pushing two fingers up the trackpad (or one finger up the Magic Mouse) or by turning your mouse’s scroll wheel. You almost never use the antiquated method of dragging the scroll bar’s handle manually, with the mouse.

Tip

More reasons nobody uses the mouse on the scroll bar: You can scroll using the keyboard. Your Page Up and Page Down keys let you scroll up and down, one screen at a time, without having to take your hands off the keyboard. The Home and End keys are generally useful for jumping directly to the top or bottom of your document (or Finder window). And, if you’ve bought a mouse that has a scroll wheel on the top, you can use it to scroll windows without pressing any keys at all.

That’s a long-winded way of explaining why, in most programs, the scroll bars are hidden. See Figure 1-9 for details.

Note

If the missing scroll bars leave you jittery and disoriented, you can bring them back. Open System Preferences→General and then turn on “Show scroll bars: Always.”

Resizable Edges

For the first 28 years of its existence, the Mac offered only one way to make a window bigger or smaller: Drag the ribbed-looking lower-right corner. These days, you can drag any edge of a window to change its shape. Just move the pointer carefully to the exact top, bottom, left, or right edge; once its shape changes to a double-headed arrow, you can drag to move that window’s edge in or out.

Tip

There are a few cool, totally undocumented variations on the window-edge-dragging business. First, if you press the Option key while dragging, you resize the opposite edge simultaneously. For example, if you Option-drag the bottom edge upward, the top edge simultaneously collapses downward. If you press Shift as you drag, you resize the entire window, retaining its proportions. And if you Shift-Option drag, you resize the window around its center, rather than from its edges.

Path Bar

Choose View→Show Path Bar to see a tiny map at the bottom of the window, showing where you are in the folder hierarchy. If it says Casey→Pictures→Picnic, well, then, by golly, you’re looking at the contents of the Picnic folder, which is inside Pictures, which is inside your Home folder (assuming your name is Casey).

Tip

Each tiny folder icon in this display is fully operational. You can double-click it to open it, right-click or two-finger click it to open a shortcut menu, or even drag things into it.

Status Bar

OS X hides yet another information strip at the bottom of a window: the status bar, which tells you how many icons are in the window (“14 items,” for example) and the free space remaining on the disk. To make it appear, choose View→Show Status Bar.

Tip

The status bar shows you disk-space information for the entire disk, but not how much disk space this particular window’s contents occupy.

To find out that piece of information, make sure no icon in the window is highlighted. Then choose File→Get Info (or press ⌘-I). The resulting Info window, which is described starting on Get Info, shows the size of the folder or disk whose window you’re browsing, along with other useful statistics.

Get OS X El Capitan: The Missing Manual now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.