Stop clicking on dialog-box buttons
Don’t reach for your mouse when you encounter dialog boxes that require clicking on a button—for example, Don’t Save, Cancel, or Save. Often, you can use your keyboard instead.
If you’ve activated Full Keyboard Access, you can use the tab key to cycle through a dialog box’s buttons (see “Plug into Keyboard Power” for details). Then press the spacebar to activate the selected button.
Alternatively, in most applications, you can use these shortcuts: Command-D for the Don’t Save button, Command-C for Cancel, and Command-S for Save. To save a keystroke, try leaving out the Command key. Notably, this works in Microsoft Office 2004 applications and in Apple’s iTunes. For example, in iTunes, if you select a song in your library and press Command-delete, you’ll see a dialog box with three buttons: Cancel, Keep Files, and Move To Trash. Press C, K, or M, and you’ll activate the corresponding function.
Access iPhoto 6’s hidden tools
Apple’s iPhoto 6 (part of the $79 iLife ’06 ) has some nice built-in editing tools, including Red-Eye and Retouch. But you can make these tools even more useful by activating a supersecret advanced editing mode. In the advanced mode, you’ll be able to control the size and strength of the Retouch brush, as well as the size and brightness of the Red-Eye tool.
Start by going to iPhoto: Preferences, clicking on the General tab, and making sure your settings are right. You can’t access the advanced mode if you’ve told iPhoto to launch another application for image editing. iPhoto also won’t stay in the advanced mode if you choose to edit each image in a separate window. Instead, choose Edit In Main Window from the Edit Photo pop-up menu.
Now double-click on an image to enter Edit mode. Select either the Red-Eye or the Retouch tool, press and hold the control key, and then press and hold the caps lock (yes, caps lock) key. Now, with both keys still held down, press 9. Nothing will appear to happen, and you won’t hear any confirmation tone, but you’ve now activated the advanced editing mode. To verify this, press the tab key. You should see the cursor change shape, depending on which editing tool you’ve activated (see “iPhoto’s Secret Weapon”). Press tab to cycle through each tool’s different modes, including the default one. Here’s what they do:
Retouch After pressing tab once with the Retouch tool activated, your cursor will turn into a round marquee with the number 0.50 below it. Using this cursor, you can resize the area the Retouch tool affects, as well as change the tool’s strength. To adjust the area the tool covers, use the bracket keys—press the right bracket (]) to enlarge it and the left bracket ([) to shrink it; the marquee will change size accordingly. To adjust the tool’s strength, press shift-] (to increase it) or shift-[ (to decrease it). The number below the cursor will change to reflect your setting.
Press tab a second time with the Retouch tool activated, and you’ll switch to the Lighten tool. It does just what you might expect—it lightens the area of the image under the tool’s outlined circle. Use the bracket keys with this tool to enlarge or shrink the area affected. To get back to the default Retouch tool, press tab one more time.
Red-Eye Press tab with the Red-Eye tool acti-vated to switch to the advanced Red-Eye tool. Its cursor looks like large crosshairs on top of a hole. Use the bracket keys to change the size of the tool’s area—this is quite useful, as you can home in on just the area of the eye that needs red-eye correction.
Another feature of the advanced mode is the ability to use a lighter red-eye correction. With the advanced tool activated, press and hold the shift key before clicking, and you’ll get a lighter fill than you get with the standard tool.
You’ll have to enter the advanced mode every time you launch iPhoto 6 (or every time you edit a photo, if you edit in a separate window).
Cycle Calculator’s modes
OS X 10.4’s Calculator program (/Applications) has three modes—Basic, Scientific, and Programmer. To switch between modes, you can use the View menu or the keyboard shortcuts Command-1, Command-2, and Command-3. But when your hand is already on the mouse, there’s another way to toggle modes: just click on the green maximize button at the top left of the Calculator’s screen. Each time you click, the calculator cycles to a different mode.
Sort Safari’s bookmarks
It’s easy to add, view, and manipulate your collection of bookmarks in Apple’s Safari. Just select Bookmarks: Show All Bookmarks to open a window where you can move bookmarks around as you like. But one very simple feature is missing: the ability to sort bookmarks alphabetically. You can rearrange them manually, of course, but that’s just tedious.
True, you can download add-on programs that handle this task for you. For example, one of the many features you get with Hao Li’s $12 plug-in Saft 8.3.4 is the ability to sort bookmarks directly within Safari. Going a step further, external bookmark managers such as Sheep Systems’ $15 Bookdog 3.8 and Alco Blom’s $25 URL Manager Pro can, among other things, sort your bookmarks. But if you don’t need all the other features of these programs, you don’t have to cough up some dough just to sort bookmarks. Here’s how to do it yourself.
First, open Safari’s Bookmarks window (Bookmarks: Show All Bookmarks). Make sure you can see your desktop and the Bookmarks window at the same time. Now drag the bookmark folder you want sorted from the Safari window to your desktop. Switch to the Finder, and open the folder. Choose the List view (View: List), and then close the window (see “To the Letter”). Drag the folder back into Safari’s Bookmarks window. Safari will treat it like a newly imported folder and add it to the list. Open the folder in the Bookmarks window, and you’ll see your bookmarks, sorted alphabetically.
The original, unsorted folder will still be in your Bookmarks list. Click on it to select it, and then press the delete key. (Remember to delete the folder from the Finder as well.) You can use this trick only to sort alphabetically. If you try to sort the List-view window by any other column heading—for example, Date Modified—and import the folder, Safari won’t display the bookmarks in that order.
Boot into Windows with your remote
If you own an Intel-based Mac and have used Apple’s Boot Camp to install Windows on it, then you know how to tell your Mac which OS to boot into: just hold down the option key at startup, and then use the arrow keys or the mouse to choose either the Windows partition or the OS X partition.
But here’s a nifty alternative—good for when you want to impress your friends, as well as when you can’t reach the keyboard after choosing to reboot. Make sure you’ve got your Apple Remote in hand, and press and hold the Menu button during startup. The boot loader will appear, just as if you were at the machine.
From there, use the remote’s forward and backward directional buttons to toggle between the two operating systems, and press play to activate the desired one. No muss, no fuss, and no keyboard required.iPhoto’s Secret Weapon: Use iPhoto 6’s hidden advanced mode to gain more control over the Red-Eye tool and the Retouch brush. The advanced Retouch brush, shown here, lets you control the intensity of the brush’s effects. To the Letter: You can sort your Safari bookmarks alphabetically without add-on software. Just drag a folder full of bookmarks out of Safari to your desktop. View the folder’s contents in the Finder’s List view and then drag the folder back into Safari.
Combine Mail messages for printing
Have you ever wanted to print a number of e-mail messages in Mail? You can do so easily; just Command-click on each message you want to print, and then press Command-P. But there’s a downside: each message prints on a separate sheet of paper, so if you print four ten-line e-mail messages, you’ll waste nearly four full sheets of paper. Ugh.
You can save some trees if you’re running OS X 10.4. Use Automator to create a workflow that prints multiple Mail messages as one message—and therefore uses as little paper as possible.
To begin, launch Automator (/Applications/Utilities). Once it’s open, click on Mail in the Library column. Drag the Get Selected Mail Items action from the Action column into the workflow area. Next, drag the Combine Mail Messages action below the first action. Then drag the New Mail Message action to the bottom position.
That’s the entire workflow. The next step is to make it easy to use. Select File: Save, name your workflow Combine Mail Messages, and change the File Format pop-up menu to Application. Now, you could save your new program in your Applications folder, but if you did, you’d have to select the messages in Mail and then find and launch the program to use it. Instead, use the Script menu to make your program accessible directly from Mail.
To enable the Script menu, switch to the Finder and launch the AppleScript Utility (/Applications/AppleScript). In the window that appears, select the Show Script Menu In Menu Bar option. This puts a small scroll icon, which represents the Script menu, on the right side of your menu bar. Before you can really use the menu for this tip, though, you need to create a few folders.
Navigate to your user folder /Library. There, create a folder (File: New Folder) named Scripts. Inside that folder, create a folder named Applications. And inside that folder, create a folder named Mail. Any Automator programs or AppleScripts you place inside this Mail folder will be directly accessible from Mail. Switch back to Automator. Click on the arrow to the right of the Save As field in the dialog box you were working in before. Navigate to the new Mail folder you just created, and save your program.
Now you’re ready to combine messages. Launch Mail, and Command-click to select a few messages. Click on the script icon in the menu bar. In the menu that appears, you’ll see Combine Mail Messages at the bottom. Select it, and then wait while the workflow runs. When it’s done, a new message will open, containing all of the previously selected messages. They’re even separated by a nice dividing line, so you can see where each message starts. Print this new e-mail message, and you can read all the selected messages—without any wasted paper.
Plug into keyboard power
Although the computer mouse is a terrific invention, you may discover that you accomplish some tasks much more quickly by keeping your hands on the keyboard. Learning keyboard shortcuts is a great first step. The next time you access a menu, notice the key symbols to the right of some commands—you can press the indicated keys together to access those commands. But you can do even more with the keyboard. Here are a couple of ways to plug in.
Access Finder Items A trip to the Keyboard & Mouse preference pane reveals a world of shortcuts for Finder items. Click on the Keyboard Shortcuts tab and scroll through the list until you see the Keyboard Navigation section. These keyboard shortcuts can help you cut down on needless trips to the mouse. Want to activate the main menu bar? Press control-F2, and the Apple icon will become highlighted. Then you can navigate through the menu bar with the arrow keys—press the left and right arrows to move between the menus, and press the up and down arrows to move between items within a selected menu.
Press control-F3 and then use the arrow keys to access Dock items in a similar manner. Press control-F8 and use the arrow keys to move through the items on the right side of your menu bar. (If you’ve activated the Scripts menu, for instance, this is a quick way to access your AppleScripts.) Don’t like a shortcut? Then reassign it—when you’re in the Keyboard & Mouse preference pane’s Keyboard Shortcuts tab, you can double-click on an entry in the Shortcut column and then reset the keyboard command by pressing the keys you’d rather use.
Turbocharged Tab Why reach for the mouse when you’re typing data into fields? In most spreadsheet and database programs, you can press the tab key to move to the next field. But by default, OS X won’t let you use the tab key to move between every field on a Web form. To solve that problem, go to the Keyboard & Mouse preference pane. Click on the Keyboard Shortcuts tab, and look down near the bottom of the pane, for the section labeled Full Keyboard Access.
To enable use of the tab key everywhere, click on the All Controls option. Now you’ll be able to use the tab key to move between every user-selectable object. You can see the difference in Safari. If you press tab before modifying the Full Keyboard Access setting, you’ll move between the address field and the Google search box, but that’s it. After you modify the setting, pressing tab will also cycle through Bookmarks-bar entries and toolbar icons.
Because there may be times when you don’t want to tab between every single user-selectable object, Apple has included a keyboard shortcut that toggles the two Full Keyboard Access settings—just press control-F7 (in any application) to switch between them.
[ Senior Editor Rob Griffiths runs the Mac OS X Hints Web site. ]