Advertisement

No account yet? Register
How to automatically correct spelling mistakes in any application using AutoHotKey
By Julian Prokaza on Wednesday, 10 October 2007

AutoHotKey spelling correctionOriginally a clever innovation to help keep word processed documents free from typos and other spelling mistakes, the spell checker is now a standard feature in a variety of other applications. The problem, however, is that each spell check-equipped application maintains its own user dictionary, so any custom words you add to one won’t be used by another. And, of course, spell checking is still absent from many applications that rely on typed input, from instant messaging to form entry in a web browsers.

Fortunately, help is at hand in the shape of AutoHotKey. This free utility lets you create ‘universal’ macros – application-independent automated actions. AutoHotKey is extremely versatile and can be used for a wide variety of tasks and this workshop uses it to correct misspelled words.

The workshop relies upon an AutoHotKey script based on Wikipedia’s list of common misspellings – the program monitors everything you type and when it detects a word that’s on the list, it replaces it with the correct spelling. You can add your own common misspellings too, and since it works across all applications, your typing should be near-perfect from now on.

Step 1
Download wikipedia_autocorrect.zip – this is the autocorrect script for AutoHotKey. Unzip the downloaded file, then open wikipedia_autocorrect.ahk (the extension if for AuotHotKey) in Notepad.

Image

Step 2
Leave Notepad open and download AutoHotKey from www.autohotkey.com. Double-click the downloaded file to begin the installation and leave all settings at their default value.

Image

Step 3
Run AutoHotKey from the Start menu and click Yes when prompted to create a sample script. When the script window opens, press [Ctrl]+[A] to select it and then press [Del] or Backspace to delete it.

Image

Step 4
Leave the sample script Notepad window open, and switch to the autocorrect script window opened in step 1. Copy the whole script ([Ctrl]+[A] then [Ctrl]+[C]), then paste it into the sample script window from step 3.

Image

Step 5
Press [Ctrl]+[S] to save the sample script, then close both its and the original wikipedia_autocorrect Notepad windows. Start AutoHotKey again from the Start menu and this time it will automatically load the newly-created script – look for the H icon in the Notification Area.

Image

Step 6
AutoHotKey will now monitor everything you type and automatically change any mistyped words that are in its dictionary – the change takes place as soon you press [Space] after a word.

Image

Step 7
You can add words to the dictionary by selecting your misspelling  pressing [Windows]+[H]. A dialog box will pop up containing the word – change the word on the right of the ‘::’ to the correct spelling and click OK to add it to the dictionary.

Image

Step 8
Any words you add to the dictionary are added to the script created in step 5. You can edit this (to remove mistakes or add corrections in bulk) by right-clicking the AutoHotKey icon in the Notification Area and selecting Edit This Script – user-added words appear at the bottom.

Image

Comments
Add New Search
Write comment
Name:
Email:
 
Website:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
:D:):(:0:shock::confused:8):lol::x:P:oops::cry:
:evil::twisted::roll::wink::!::?::idea::arrow:
Please input the anti-spam code that you can read in the image.

3.25 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."




Bookmark with:
Reddit!Del.icio.us!Google!Facebook!Slashdot!Technorati!StumbleUpon!
 
< Prev   Next >

Latest reviews

Advent 4211
We’ve had cause to mention the Advent 4211 a few times in the last few weeks, but if you missed our previous coverage, here’s one-sent...
Read more...
Eee PC 1000
Although the Eee PC 901 is perfectly proportioned for a netbook, we can’t help but admit that even we find its compact keyboard a little too...
Read more...
Hands-on video of the Asus Eee PC 1000
Asus kindly dropped of yet another Eee PC earlier today – the Eee PC 1000-BK002. As we’ve already reported, this is a 10in screen netb...
Read more...
HTC Touch Diamond
It's a tough job overcoming the failings of Windows Mobile, but HTC has done a better job than most in recent times with its seriously sexy and po...
Read more...
Watch the HTC Touch Diamond in slow motion...
We've had the HTC Touch Diamond Windows Mobile 6.1 smartphone in the Mobile Computer office for just over a week now and I'll be posting a full revi...
Read more...
Creative Vado Pocket Video Cam
Clearly looking to cash in on the craze for the Flip in the US, Creative’s take on the pocket-size digital video camera is essentially a ca...
Read more...
MSI Wind U100
If you’ve been holding off buying a netbook until the dust has settled, the good news is that you can reach for your credit card now. The las...
Read more...
MSI Wind hands-on video and Aspire One/Eee PC 901 comparisons
With your appetite has been whetted by the Wind unboxing video, here comes the starter – a hands-on video of MSI’s new netbook. You can...
Read more...
See the MSI Wind being removed from its box!
The MSI Wind netbook arrived in the Mobile Computer office a short while ago and we’ve shot a couple of videos to tide you over until we pub...
Read more...
Apple Time Capsule
Spending time making something you hope you’ll never need is a pretty pointless activity, which is probably why so few people bother backing ...
Read more...

Advertisement

Most commented articles

Recent reader comments

Add to Technorati Favorites

Advertisement

Twitter

    Dennis logo

    Other Dennis Publishing technology sites you may be interested in: