Back up important preferences files

When an application isn’t quite working right, sometimes the cause is a preferences file that’s gotten corrupted, so a common troubleshooting step is to delete an application’s preferences file. That’s easy to do, but with many of today’s more complex software programs, preferences are key to your workflow, and when you lose your preferences, the program may no longer do what you expect it to because it’s reverted to the factory defaults. If you’re trying to get jobs out fast, reset preferences can slow you down until you get all of them back to the way they were.

Let’s take Photoshop, for example. The preferences control everything from how keyboard shortcuts work to which disks are used for scratch files. If you’ve changed 24 preference settings and then one day you have to delete the preferences file to solve a problem, it’s hard to remember all of the options you changed. Keyboard shortcuts, units of measure, tool defaults, printer profile choices, and scratch disk locations can all be changed to settings you aren’t used to.

Here’s an easy way to restore your preferences easily in case you have to delete your preferences. After you get preferences set up the way you want, and before a problem happens, just create a .zip archive of your preferences. Whether you use Mac OS X or Windows this is easy and just takes a second.

First, find the preferences file you want to preserve.
Then, on Mac OS X, select the file and choose File > Create Archive Of (the filename).
On Windows, right-click the file and choose Send to > Compressed (Zipped) Folder.

You can just leave the zip archive next to the original preferences file because the program that uses that file will ignore it if it has the .zip filename extension instead of its normal one. Because the zip archive is created in the same location with a nearly identical filename, you don’t have to fish it out of a backup somewhere; it’s already in the right place.

When you have a problem that requires deleting preferences, delete the actual preferences file and then simply extract the backup preferences from the zip archive by double-clicking it. On Mac OS X, the file appears in the same place you zipped it, which should already be the right place if you zipped it in its proper folder location. On Windows, you may have to go through the extra step of dragging it out of the containing folder that the Extraction Wizard creates and then deleting that extraction folder. On either OS, the zip archive remains in place so you can easily extract the backup again in case you have another problem in the future.

Some applications have entire folders of preferences, or additional folders in the Application Support folder on Mac OS X or the Common Files folder in Windows. If those folders contain presets or other files that can’t be reinstalled from the original disks because they’re unique to you, it can be a good idea to back those up in place too.

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.

Dr. Brown’s Place-O-Matic: Camera Raw color space not used?

If you use the Dr. Brown’s Place-O-Matic plug-in for Photoshop and the Space in the Adobe Camera Raw dialog box doesn’t seem to be applied to the Photoshop document containing the Smart Objects generated by the plug-in, change your Color Settings in Photoshop (Edit > Color Settings) before using Dr. Brown’s Place-O-Matic. Dr. Brown’s Place-O-Matic sets up the Photoshop document using the current Color Settings.

I came across this when I selected ProPhoto RGB and 16 Bits/Channel in the Camera Raw dialog box, and noticed that the resulting Photoshop document was in sRGB. When I changed my Color Settings to use ProPhoto RGB, the Photoshop document created by Dr. Brown’s Place-O-Matic was created with ProPhoto RGB.

Dr. Brown’s Place-O-Matic is a free Photoshop plug-in available from the Tips and Techniques page on Russell Brown’s web site. It helps you create one image from two different conversions of the same camera raw format image, such as when you want to combine the very light and very dark parts of the same image. Because the plug-in imports two versions of a camera raw image as smart objects, you can alter the conversion settings at any time, which gives you a lot of flexibility.

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.