Power Typing

Something strange has been quietly taking place at Apple: Typing has been getting a lot of attention.

It began when Apple created system-wide spelling and grammar checkers. For the first time in computer history, the operating system took over typos and grammos. You didn’t have to maintain a separate spelling checker for each program you used. Now there’s just one, and it works in most programs: TextEdit, Stickies, Messages, Mail, Calendar, Safari, Pages, Photos, iMovie, and so on. Add a word to the dictionary in one program, and it’s available to all the others.

Today, there’s much more. There’s text substitution, where you type addr and the system types out “Irwina P. McGillicuddy, 1293 Eastport Lane, Harborvilletown, MA, 02552.” (The same system autocorrects common typos like teh instead of the.) There’s also a case-flipping feature that can change selected text to ALL CAPS, all lowercase, or First Letter Capped. Both of these features are available in most Apple programs and in any other programs that tap into OS X’s built-in text-processing circuitry (although not, alas, Microsoft programs).

Your Mac can give you live, interactive spelling and grammar checking, just as in Microsoft Word and other word processors. That is, misspelled words or badly written sentences or fragments get flagged with a dashed red underline (for grammar problems, a green underline) the moment you type them. Here’s the crash course:

Note

If you’re typing slowly enough, you might see the suggestion bubble illustrated in Figure 6-4. That, of course, is a feature Apple brought to the Mac from the iPhone/iPad. It’s saying, “Here’s the word I think you meant—and if you just keep on typing, I’ll go ahead and make the change I’m proposing. If you disagree, click on the X in the word bubble to make me shut up and leave what you typed, just as you typed it.”

It’s not perfect. It doesn’t correct all errors (or even most of them). It occasionally even corrects a word you didn’t mean to have corrected.(When it makes a mistake, hit ⌘-Z, the Undo command, to restore what you typed.) And sometimes it doesn’t make the change until you’re halfway through the sentence.

Still, though. Kind of cool.

This useful feature autoreplaces one thing you type with something else. Why? Because it can do any of these things.

For example, the Mac can insert attractive “curly quotes” automatically as you type “straight ones,” or em dashes—like this—when you type two hyphens (-- like that).

You can see the built-in sample substitution (“omw” for “on my way”)—and create your own—in the System Preferences→Keyboard→Text tab, as shown in Figure 6-5.

Apple doesn’t want to drive you nuts, though, so it makes sure you’re sure you really want these swappings to take place. So you have to turn on each of these features manually, in each program. (These commands are available anywhere you do a lot of typing, like TextEdit, Mail, and Stickies. Look for the Edit→Substitutions submenu.)

You can program addr to type your entire return address. Create two-letter abbreviations for big legal or technical words you have to type a lot. Set up goaway to type out a polite rejection letter for use in email. And so on.

This feature has been in Microsoft Office forever (called AutoCorrect), and it’s always been available as a shareware add-on (TypeIt4Me and TextExpander, for example). But now it’s built right into most Apple programs, plus any others that use Apple’s text-input plumbing.

You build your list of abbreviations in the System Preferences→Keyboard→Text tab, shown in Figure 6-5. See the list at left? Click the to create a new row in the scrolling table of substitutions.

Click in the left column and type the abbreviation you want (for example, addr). Click in the right column and type, or paste, the text you want OS X to type instead.

That’s it! Now, whenever you type one of the abbreviations you’ve set up, the Mac instantly replaces it with your substituted text.

And not just the Mac, either; your abbreviations auto-sync to iPhones, iPads, iPod Touches, and other Macs. If, that is, you’ve turned on System Preferences→iCloud→Documents & Data.

(Remember, you can turn off the text-replacement feature in individual programs, if you like—TextEdit, Mail, Stickies, and so on. To do that, choose Edit→Substitutions→Text Replacement, so that a checkmark disappears.)

The final feature in OS X’s text-massaging tool chest is case swapping—that is, changing text you’ve already typed (or pasted) from ALL CAPS to lowercase or Just First Letters Capitalized.

This one’s simple: Select the text you want to change, and then choose from the Edit→Transformations submenu. Your options are Make Upper Case (all caps), Make Lower Case (no caps), and Capitalize (first letters, like a movie title).

Keep that in mind the next time some raving lunatic SENDS YOU AN EMAIL THAT WAS TYPED ENTIRELY WITH THE CAPS LOCK KEY DOWN.