Mac OS X

Spotlight: Speed search term entry by abbreviating

If you’ve used both Spotlight and one of the third-party file indexers/launchers that came before it, like LaunchBar or QuickSilver, you know that entering a search takes a little more effort in Spotlight. LaunchBar and QuickSilver can find a file using very short abbreviations, they learn which abbreviations you prefer, and they interpret abbreviations very intelligently. For example, LaunchBar knows that if I type “wrd” I want my network location named “Linksys Wired”. Spotlight can’t do that because it only abbreviates starting from the beginning of the search term; it won’t find an abbreviation that doesn’t match the beginning of the term. (On a side note, Spotlight also can’t bring up network locations. I wish it would.)

However, Spotlight will find matches starting from the beginning of each word, and it doesn’t necessarily need the whole word. If I want to find “meeting minutes,” I only have to enter “mee mi” and they’ll be found.

I think this is important to mention because some people think you have to type the entire search term from the beginning, but you don’t have to. Just the beginning of each word can be enough, and taking advantage of this shortcut can make Spotlight search term entry significantly faster and more convenient.

Select a menu command by typing

In Mac OS X, when a menu is open you can select a menu command by typing its name. You can actually go well beyond that, but most Mac users are not aware of how to do it. Running menus from the keyboard sounds like a minor feature, but in fact, selecting a command by typing can save you time when a very long menu is open, such as a font menu containing more fonts than will fit on the screen.

Another common example of this time-saving technique is when you’re checking out of an online store and you have to enter your state from a pop-up menu. Let’s say you live in Wisconsin, which is usually represented by its abbreviation WI. The normal way to get to WI in the pop-up menu is to tediously and carefully scroll all the way down to the name of their state, which is way past the bottom of the screen. If you accidentally release the mouse, you have to start over. The quicker way to do this is to open the menu and simply type “WI” which selects the command. Now press Return to confirm the command selection.

Long font menus are another place where typing the name is much faster than scrolling the menu with the mouse.

Compared to Windows users, Mac users are often less familiar with selecting commands with the keyboard, because the Mac generally emphasizes the mouse much more than the keyboard. In Windows, each command contains one underlined letter that you can press together with the Alt key to select that command. Because Mac OS X doesn’t have those underlines, many Windows users don’t think you can select commands with the keyboard in OS X. In one way, the Mac version is actually easier, because you only have to know the name of the command you’re typing, and type that. In Windows, you have to know which single letter selects the command, and that letter is often not one of the first couple of letters because so many commands start with similar letters.

The last missing piece in selecting commands with the keyboard is opening the menus in the first place, if you don’t want to open menus with the mouse. In Mac OS X, you can select the Apple menu by pressing Ctrl+F2. Once you’re there, type the first letters of the menu you want to select, press Return to drop the menu, and then type the name of the command. Once a menu is open you can also use arrow keys to navigate the menus, or abandon the menu by pressing Esc. If you think this is too many steps, see if the command has a keyboard shortcut listed to the right of the command on its menu, and just press that. If the command doesn’t have a shortcut, assign one yourself. Many Adobe and Microsoft products let you customize keyboard shortcuts, and for other products, you can often use the Keyboard Shortcuts editor in the Keyboard & Mouse system preference.

When you’re in a dialog box or palette, you can normally press Tab or Shift+Tab to move from one text entry field to another. To be able to select any control with the Tab key, including pop-up menus, radio buttons, and check boxes, open the Keyboard & Mouse system preference, click the Keyboard Shortcuts tab, and select All Controls. When All Controls is on, as you press Tab, a selected control displays a soft outline, and when a control is selected you can press the spacebar to select or toggle it. For example, if a pop-up menu is selected, press the spacebar to pop it open. If a checkbox is selected, press the spacebar to enable or disable it. You may not be able to use the Tab key to select dialog box and palette controls in applications that use special code to draw dialog boxes and windows, such as many Adobe products.

In Safari, you can use Tab to select controls on a web page. Open Preferences, click Advanced, and select Press Tab to Highlight Each Item on a Webpage.

Mac Pro: Why four hard drive bays are great for Photoshop

Apple announced the new Mac Pro tower this week. For a Photoshop user, the Mac Pro’s quad SATA hard drive bays are just as useful as the quad cores of the two Xeon CPUs.

Why would a Mac Photoshop user need to use up four drive bays? Actually, it isn’t that hard. First, we know drive number 1 is the system drive that also contains all user folders and their documents. But I like to keep my photo archive on a drive other than the system drive, partly because it’s huge, but also so that if crazy things start happening to the system drive, my photo archive is less likely to be affected. This also simplifies backing up the entire archive to one of my external archive mirror drives. Right now my photo archive is on an external drive, but if I buy a Mac Pro then the photo archive can go to internal drive number 2 and get some clutter off the desk.

I would use drive number 3 as a Photoshop scratch disk. Photoshop has its own virtual memory that’s independent of the virtual memory that OS X and Windows use, and it’s optimized for how Photoshop must deal with image data. If you want the best Photoshop performance, in addition to having tons of RAM you should also have a separate, fast hard disk that’s assigned as a dedicated Photoshop scratch disk (set this up in Preferences > Plug-Ins and Scratch Disks). Again, another disk inside the machine instead of on the desk.

What about the fourth drive bay? At the moment, I could leave it empty. But when Mac OS X 10.5 (Leopard) comes along sometime in the spring of 2007, it will include the Time Machine continuous backup feature, which requires a dedicated volume. Why not stick a drive in bay 4 and make it the Time Machine backup drive? That would be perfect.

Those aren’t even all of the possibilities. Some might take two or more of the bays and make a faster or safer RAID out of them, using Disk Utility or a RAID card.

And that’s it…all four internal bays of a Mac Pro quickly used up to help optimize Photoshop and also OS X 10.5 when it gets here. With all the drives that won’t have to sit in external cases on my desk, I might be able to get rid of a whole power strip.

Apple Mail 2.0: Organize smart mailboxes

Just as you can organize mailboxes into mail folders, you can organize smart mailboxes into smart mailbox folders.

In a mail window, I had been frustrated by the inability to sort Smart Mailboxes in folders like you can with normal mailboxes, so I had left all my smart mailboxes at the top level of my mailbox folder hierarchy. It turns out that there is a separate command, Mailbox > New Smart Mailbox Folder, which creates a folder that you can use to organize your smart mailboxes. And just like normal mailbox folders, you can nest a smart mailbox folder inside another.

I think the reason I hadn’t seen the New Smart Mailbox Folder command before is that I usually click the buttons at the bottom of a mail window to perform a command instead of looking in the menu bar itself. The New Smart Mailbox Folder command appears only under the Mailbox menu.

UPDATE: Sometimes the New Smart Mailbox Folder command is unavailable. If this happens, you need to select an account under Inbox, and not select Inbox itself. (Selecting Inbox displays messages from all accounts, while selecting an account displays only the messages inside that account.)

Fix problems with menu bar utilities

When an item on the right side of the menu bar isn’t working right (Spotlight, the Airport icon, or something you added to the menu bar), you can often fix it without having to restart the computer.

Menu bar

Menu bar utilities are handled by a process called SystemUIServer. If you restart that process, everything on the right side of the menu bar reloads, which usually fixes any problems there.

To restart SystemUIServer:
1. Open Activity Monitor (It’s in the Utilities folder).
2. If you don’t see the Activity Monitor window, choose Window > Activity Monitor.
3. In the list, select SystemUIServer. If the list is long and SystemUIServer is hard to find, enter the name into the Filter box at the top of the Activity Monitor window.
4. With SystemUIServer selected, click the Quit Process button (or choose View > Quit Process), and then click the Quit button.

You’ll see SystemUIServer reappear in the list, because OS X restarts it automatically. The items at the right side of the menu bar should disappear, and then reload. In most cases, the problematic menu bar item should work correctly now.

If that doesn’t work, try logging out and then back in.
If that doesn’t work, try restarting.

The reason I don’t suggest logging out or restarting as a first course of action is that if you’re like me, you’ve constantly got multiple documents open in multiple applications and you don’t want to close it all down and set it all back up if it isn’t necessary.

Today I clicked on the Spotlight icon in the menu bar and it highlighted, but the Spotlight search menu wouldn’t appear. Restarting SystemUIServer fixed it, as usual.

Activity Monitor is a good place to quit or restart any process that doesn’t have its own Quit command.

And a final tip…you can rearrange most menu bar items by Command-dragging them. (Some menu bar items that appear at the left end may be put there by applications and can’t be rearranged.) You can also remove a menu bar item by Command-dragging it off the menu bar.