Mac OS X includes many features that enable you to navigate Finder windows. The two basic navigation tasks you do are moving around inside Finder windows (to select items for example) and changing the contents of Finder windows to view other volumes or folders.
Although you can use the mouse to point to and click items to select them (or double-click to open them), moving to items and selecting them using the keyboard can be faster. There are two basic ways to navigate inside a window using the keyboard.
You can type an item's name to move to and select it. The OS matches item names as you type, so most of the time you don't need to type the item's whole name to move to it (for example, typing "mp3" moves you to the first item whose name begins with mp3). The more of the name you type, the more specific your movement becomes.
You can also move among items using the Tab and arrow keys. How this works depends on the view you are using for the windows.
When you are in the Icon view, pressing the Tab key selects the next item according to alphabetical order. Holding down the Shift key while you press Tab moves you among the items in reverse alphabetical order.
You can also use the arrow keys to move to and select items. The keys work just as you might expect. The up-arrow key moves you up the window, the right-arrow key moves you right, and so on.
The window scrolls automatically to keep the items you select in view.
When a window is shown in List view, you can use the up- and down-arrow keys to move up and down the list of items in the window.
When you select an item, you can use the right-arrow key to expand it and the left-arrow key to collapse it.
The Option key works with the arrow keys as well. If you hold down the Option key and press the right-arrow key, all the folders within the selected folder are expanded as well.
In the Columns view, the right-arrow key moves you down the hierarchy, whereas the left-arrow key moves you up the hierarchy. The up- and down-arrow keys enable you to move up and down within a selected folder.
Using these keys, you can move around your directories rapidly. As you move through the structure using these keys, the window scrolls so that you always see the currently selected item. It maintains your view at all times so you can quickly jump into different areas without scrolling manually.
When you get used to it, using the keyboard in combination with the Columns view is the fastest way to navigate Mac OS X Finder windows.
The Finder window toolbar includes a Search tool you can use to find and move to items within a folder. For version 10.3, this tool works better than it did previously and allows greater control over a search:
Open a Finder window.
Click the magnifying glass icon in the Search tool. A pop-up menu appears that you can use to select an area in which to search. The options are Local Disks, which searches the local disks installed on your machine; Home, which searches only in your Home folder; Selection, which searches in the selected item; and Everywhere, which searches in all volumes to which your Mac has access (see Figure 3.7).
Select the area in which you want to search. The area you select is then shown in the text field.
The search area you choose becomes the default for searches until you choose a different search area.
Enter the text for which you want to search. When you start typing, the Finder window is transformed into the search results window. This window has two panes. The upper pane shows the items that match your search text, and the lower pane shows the location of any item you select in the upper pane. As you type, this window shows the items whose names contain the text you type. The more specific you make the text, the fewer items appear in the window as you perform the search.
You can change the relative size of the two panes by dragging the resize handle located in the center of the bar that separates the two panes.
When you find an item in which you are interested, click in the search results pane and use the up- and down-arrow keys to select the item in the upper pane. Its location is shown in the lower pane (see Figure 3.8).
If you want :to clear the search and return to the previous Finder window, click the Clear Search button, which is the "x" located in the right end of the Search tool.
There are several ways to move up and down the directory structure within Finder windows. You can use the keyboard as discussed in the previous section. You can also use the icons in the Places sidebar as well as the Path pop-up menu. The Go menu also enables you to jump to specific directories quickly.
The Finder's Places Sidebar is a fast way to change the directory displayed in the current Finder window. The sidebar contains icons that take you to specific directories. As you read earlier, the sidebar contains two panes. The upper pane shows all the mounted volumes, including your hard disks, network drives, iDisk, CDs, DVDs, and so on. The lower pane shows several folders in your Home folder; your Favorites folder; the Applications folder; and any folders, documents, or applications you have added manually. You can customize the items that appear on the sidebar to suit your preferences.
To learn how to customize the sidebar, see "Customizing the Places Sidebar," p. 69.
To view the contents of an item shown in the sidebar, simply click its icon. The right pane of the Finder window shows the contents of the selected item.
Click the Back button on the toolbar to move back to the previous Finder window. You can continue to click the Back button as many times as you want until you reach the first window you viewed using the current Finder window; at that point, the Back button is grayed out. Similarly, the Forward button moves you forward in a chain of Finder windows.
You can press -[ to move back and -] to move forward.
To learn how to customize the Toolbar, see "Customizing the Toolbar," p. 71.
If you open a new Finder window, the Back and Forward buttons are grayed out because there is no window to move back or forward to. Opening a new Finder window starts a new sequence of windows, so both buttons are disabled. As soon as you open a second window within the same Finder window, the Back button becomes active. If you move back along that chain of windows, the Forward button becomes active.
The Path pop-up menu enables you to quickly move up and down the directory structure of your Mac. To change directories, hold down the key and click the window name in the title bar of a Finder window. When you do so, you see all the directories from the one currently displayed in the window up to the Computer directory (which is the highest level on your Mac). Select a directory from the menu and the Finder window displays the directory you chose.
You can add the Path button to your toolbar so you can select a directory without using the key. You'll learn how later in this chapter.
The Finder's Go menu enables you to move into many areas of your Mac. The menu is divided into several areas that contain various kinds of options (see Figure 3.9).
At the top of the menu are the Back and Forward commands, which do the same thing as the Back and Forward buttons on the toolbar.
Just under these commands is the Enclosing Folder command. When you are displaying an item in a Finder window and press -up arrow or select Go, Enclosing Folder, the folder that contains the currently selected item is shown in the Finder window.
You can also use the Finder's Go menu to open specific directories. To do so, open the Go menu and select the directory you want to view. Its contents replace those shown in the active Finder window (if no Finder windows are active, the directory's contents appear in a new Finder window). For example, to display your Home folder, select Go, Home.
Keyboard shortcuts are available for the specific directories on the Go menu. See the "Mac OS X to the Max" section at the end of this chapter for a list of these shortcuts.
If you select, Go, Recent Folders, you can quickly move back to one of the folders you have recently viewed (you can set the number of recent folders on this list using the Appearance pane of the System Preferences utility).
You can also move to a folder using the Go to Folder command. Select Go, Go to Folder to see the Go to Folder dialog box (see Figure 3.10). You can type a pathname in this dialog box and click Go to open a Finder window for that directory. Following are some tips on how to type pathnames:
Pathnames are case sensitive.
A slash (/) separates each level in the path.
Almost all paths should begin and end with the slash (/).
The exception to the previous rule is when you want to move to a specific user's Home directory, in which case you can just type ~username/, where username is the short name for the user's account.
If the path begins with the directory on which Mac OS X is stored, you can skip that directory name and start the path beginning with the next level. If it is on another volume, you can include that volume's name at the beginning of the path.
Although you should be careful to use the proper case in pathnames, sometimes it doesn't make a difference. For example, the path to the Mac OS X System directory can be /SYSTEM/, /system/, or /System/. Sometimes, however, the case of the path you type must match exactly, so it is good practice to always match the case of the directory names you type.
Table 3.1 provides some examples of paths you would enter in the Go to Folder dialog box to move to specific directories.
Directory called Documents on a volume named Mac OS 9
/Mac OS 9/Documents/
The Documents folder in the Home directory for the user account with the short name bmiser
The Mac OS X System Folder
A folder called Ch_02_figs located in the Documents directory in my User folder
Following are some additional tips for the Go to Folder command:
You can open the Go to Folder dialog box by pressing -Shift-G. Type the path and press Return to move there.
If you are patient when you type, Mac OS X will try to match the path you are typing and complete it for you. This usually takes more time than to type it yourself, but if the path is filled in for you, press Return to accept that path entered for you to move there.
The most recent path you have typed remains in the Go to Folder dialog box; you can modify this path to move to a different directory.
Although pathnames should end in /, you don't really have to type the last /. If it is needed, Mac OS X adds it for you. If not, the path works without it.
You can use the Connect to Server command to move to directories located on your network.
To learn how to connect to servers, see "Accessing Shared Files from a Mac OS X Computer," p. 834.
One of the cool navigation features of Mac OS X is the ability to move up and down the directory structure using only the keyboard. Use the previous tips to select an item and then press -down arrow to move into the item, such as a folder, an application, a document, and so on. For example, if you use the Tab key to select an application icon and then press -down arrow, that application opens. Similarly, if you press this key combination when you have a folder selected, the contents of that folder are shown in its previous view state.
This technique also works in the Columns view to open applications or documents. When you are viewing folders and volumes, you don't need to hold down the key because, in the Columns view, the contents of a folder or volume are displayed when you select it.
To move up the directory structure, press -up arrow.