Window Controls

As in Windows, a window on the Mac is framed by an assortment of doodads and gizmos (Figure 1-7). You’ll need these to move a window, to close it, to resize it, to scroll it, and so on. But once you get to know the ones on a Macintosh, you’re likely to be pleased by the amount of thought those fussy perfectionists at Apple have put into their design.

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-7. 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.

What follows is an overview of the various OS X window-edge gizmos and what they do.

Title Bar

When several windows are open, the darkened window name and colorful upper-left controls tell you which window is active (in front). Windows in the background have gray, dimmed lettering and gray upper-left control buttons. As in Windows, the title bar also acts as a handle that lets you move the entire window around on the screen.

Tip

Here’s a nifty keyboard shortcut with no Windows equivalent: You can cycle through the different open windows in one program without using the mouse. Just press ⌘-` (that’s the tilde key, to the left of the number 1 key). With each press, you bring a different window forward within the current program. It works both in the Finder and in your programs.

After you’ve opened one folder inside another, the title bar’s secret folder hierarchy menu is an efficient way to backtrack—to return to the enclosing window. See Figure 1-8.

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-8. 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.

One more title bar trick: By double-clicking the title bar, you minimize the window (see Minimize Button).

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 . The most important one is the Close button, the red button in the upper-left corner (see Figure 1-7). It closes the window, exactly like the button at the upper-right corner in Windows. Learning to reach for the upper-left corner instead of the upper-right will probably confound your muscle memory for the first week of using the Mac.

If you can’t break the habit, then learn the keyboard shortcut: ⌘-W (for window)—an easier keystroke to type than the Windows version (Alt+F4), which for most people is a two-handed operation. If you get into the habit of dismissing windows with that deft flex 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.

Tip

If, while working on a document, you see a tiny dot in the center of the Close button, then OS X is trying to tell you that you haven’t yet saved your work. The dot goes away when you save the document.

Minimize Button

Click this yellow drop of gel to minimize any window, sending it shrinking into the right end of the Dock, where it now appears as an icon. It’s exactly like minimizing a window in Windows, except that the window is now represented by a Dock icon rather than a taskbar button (Figure 1-9). To bring the window back to full size, click the newly created Dock icon. See Chapter 2 for more on the Dock.

Tip

You actually have a bigger target than the tiny Minimize button. The entire title bar is a giant Minimize button when you double-click anywhere on it. Or just press ⌘-M for Minimize.

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-9. 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.

The Folder Proxy Icon

Virtually every Macintosh title bar features a small icon next to the window’s name (Figure 1-10), representing the open window’s actual folder or disk icon. In the Finder, dragging this tiny icon (technically called the folder proxy icon) lets you move or copy the folder to a different folder or disk, to the Trash, or into the Dock, without having to close the window first. (When clicking this proxy icon, hold down the mouse button for half a second, or until the icon darkens. Only then are you allowed to drag it.) It’s a handy little function with no Windows equivalent.

Tip

In some programs, including Microsoft Word, dragging this proxy icon lets you move the actual file to a different disk or folder—without even leaving the program. It’s a great way to make a backup of the document you’re working on without interrupting your work.

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-10. 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.)

Full Screen Button

A click on the third dot, the green one, on every window’s title bar 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. El Capitan has a split Full Screen mode, too. See Full Screen Mode and Split Screen Mode 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 older OS X versions, this button 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). If you would prefer that older behavior, just press the Option key as you click. The button sprouts a button. Now you’ll get a zoomed window instead of a full-screen one. (A second Option-click restores the window to its previous size.)

The Window→Zoom command does the same thing, and so does double-clicking the title bar of a Finder window.

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 Finder Sidebar

The Sidebar (Figure 1-11) 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-size Save dialog box.) It has up to three sections, each preceded by a collapsible heading.

Tip

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, or a document you’re working on every day. 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-11. Good things to put in the Sidebar: favorite programs, disks on a network you often connect to, or a document you’re working on every day. 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:

  • 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 two recent Mac features: All My Files (see the box on All My Files) and AirDrop, the instant-file-sharing feature described on AirDrop.

  • 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 16 for details).

  • 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 here, 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, hard drives don’t appear at the top of the Sidebar, but you’re free to drag them 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.

  • 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 16, to shave several steps off the usual connecting-via-network ritual.

Window Management

OS X prefers to keep only one Finder window open at a time. That is, if a window called “United States” is filled with folders for the individual states, double-clicking the New York folder doesn’t open a second window. Instead, the New York window replaces the United States window, just as in Windows.

So what if you’ve now opened the New York folder, and you want to backtrack to the United States folder? In that case, just click the tiny (Back) button or use one of these alternatives:

  • Choose Go→Back.

  • Press ⌘-[ (left bracket).

  • Press ⌘-.

None of that helps you, however, if you want to copy a file from one folder into another, or to compare the contents of the two windows. In such cases, you’ll 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

    The window that appears when you do this is the All My Files window (System Folder), but you can change that setting in Finder→Preferences→General.

  • Double-click a disk or folder icon.

  • Choose Finder→Preferences→General, and turn off “Open folders in tabs instead of new windows.” Now when you double-click a folder, it opens into a new window.

Path Bar

This item appears when you choose View→Show Path Bar. It’s a tiny map at the bottom of the window that shows where you are in the folder hierarchy. If it says Casey→Pictures→Picnic, well, then, 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 it to open a shortcut menu, or even drag things into it.

Scroll Bars

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 in word processors, for example, you’d never be able to write a letter that’s taller than your screen.

Apple expects that you’ll do most of your scrolling on your trackpad, Magic Mouse top surface, or scroll ball/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 to scroll: 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 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-12 for details.

Scroll bars don’t appear at all while you’re working (bottom); 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).But if you point to the scroll bar, it fattens up so you can grab it (top).

Figure 1-12. Scroll bars don’t appear at all while you’re working (bottom); 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). But if you point to the scroll bar, it fattens up so you can grab it (top).

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.”

Status Bar

Out of the box, the Mac 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 amount of free space remaining on the disk. To make it appear, choose View→Show Status Bar.

Resizable Edges

You can change the shape of a window by dragging its edges, just as in Windows. Move the mouse 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

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.

Get Switching to the Mac: The Missing Manual, El Capitan Edition 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.