OMG!
And GOP
And WTF All in one site. http://www.omggopwtf.com/



As you may know, Snow Leopard includes a new auto-correction feature in the Language & Text control panel. This feature is supported in the Apple supplied applications like Textedit, AppleScript Editor,. and Mail.app, however it has very few replacements and adding them is tedious, so I set out to find where and how they are stored.
They are stored in the file ~/Library/Preferences/.GlobalPreferences.plist and have a data structure like this:
<dict> <key>on</key> <integer>1</integer> <key>replace</key> <string>actaully</string> <key>with</key> <string>actually</string> </dict>
So, I took the TidBITS autocorrection dictionary and imported it in.
So far, it is working, although I think the over 2,000 replacements might be overwhelming the system a little, and you may want to undo this.
If you would like to play with this, I've made a file available at
http://home.kreme.com/TidBITS%20AutoCorrect%20Dictionary-SL.txt
Here are step by step instructions on how to do this with BBEdit (I think TextWrangler will also work). Before starting, make sure you backup the file. The file is saved as a compressed plist, so a program like textedit or vim/nano will not work without additional steps.
1) Open up the Language & Text preferences
2) click on the 'Text' tab
3) click the '+' and add a new replacement. I suggest 'teh' and 'the'
4) In BBEdit's File menu, choose "Open Hidden"
5) Got to your home folder, then Library, tehn Preferences and
choose the .GlobalPreferences.plist file
6) find the replacement you added (search for 'teh')
7) select the entire dict entry (from to ) and delete it
8) paste int eh conntents of the linked file above.
9) Save the file
10) Logout and login
Voila!
If you find this is mucking things up too much, or your typing in mail.app is too slow, you can always go back to the Languages & Text preference pane and click "Restore Defaults", or you can restore your backup file.
Hollywood’s Jewish Avenger - The Atlantic
(September 2009)