Ads by TechWords

See your link here
Receive the latest technology news and information.
Computerworld Daily News (First Look and Wrap-Up)
Computerworld Blogs Newsletter
The Weekly Top 10
Cloud Computing
View all newsletters




Privacy Policy
 

Enable global text replacements in Snow Leopard

November 13, 2009 01:30 PM ET

Macworld - One of Snow Leopard's more intriguing new features is text substitution, which lets the operating system replace defined sets of characters with other characters or symbols. For instance, typing (c) will generate the copyright symbol, ©. You can define your own shortcuts in the Language & Text System Preferences panel, on the Text tab.

However, substitutions are not enabled globally by default; they must be enabled in each application that supports them by selecting Edit -> Substitutions -> Text Replacement. If you'd rather enable substitutions globally, open Terminal and enter this command:

defaults write -g WebAutomaticTextReplacementEnabled -bool true

Note that this will only affect programs that support text replacement, and in which you haven't disabled text replacement via the menu. (That is, if you disabled text replacement in Mail, the above command will not turn it back on.)

There are some reasons you may not want this enabled by default, which may be why Apple didn't turn it on everywhere. As but one example, if you're writing code and you want to refer to a variable c, it might look something like this: mystring = uppercase(c). With text substitution enabled in your text editor, that (c) would instantly turn into ©, which is clearly not what you want.

If you decide you'd like to revert to having substitutions off by default, use this command in Terminal to delete the preference you created:

defaults delete -g WebAutomaticTextReplacementEnabled

Again, if you've manually set some program to use substitutions, the above command will not automatically disable them--the program's manual setting always overrides the global default. Thanks to Mac OS X Hints contributor GaelicWizard for unearthing this one.


Reprinted with permission from

For more Macintosh news, visit Macworld.com.
Story copyright 2009 Mac Publishing, LLC. All rights reserved.

Jump to comments

Apple

Additional Resources

WHITE PAPER
Approximately 60 percent of data migration projects overrun time or budget, while some fail completely. Download this white paper, "Enhancing Your Chance for Successful Data Migration," to learn the critical steps you need to take to execute a data migration project with minimum cost and risk to your business.
WHITE PAPER
Read the Gartner research note to learn why the TCO of a server-based computing deployment used to deliver all applications to users is around 50% lower than that of an unmanaged desktop deployment.
WHITE PAPER
Economic downturns have a tendency to accelerate emerging technologies, boost the adoption of effective solutions, and punish solutions that are not cost competitive or that are out of synch with industry trends. This IDC White Paper presents the results of an IDC survey of 330 companies in Western Europe, Asia/Pacific and the Americas that measures the receptiveness to Linux and takes into consideration changing views driven by the disruptive economic environment that businesses face today.

What People Are Saying

White Papers & Webcasts

IDC Webcast: Linux Adoption in a Global Recession
Access this webcast, compliments of Novell and HP, for a limited time only!

Network Operating System Evolution
Computerworld and Juniper invite you to download this white paper!  

How Operating Systems Create Network Efficiency
Computerworld and Juniper invite you to download the full report.  

Southern Company
Download Now