How to automatically correct text while you type or replace strings
You probably have some typos you do over and over again? If so, you can use AutoHotkey to simply correct your text even while you type or replace a string.
Useful Uses
- Let’s say you don’t want to use abbreviations like btw, you can let AutoHotkey replace it while you type with “by the way”
- Or if you have a common typo like Morrowing, you can tell AHK to auto-correct it and write Morrowind instead.
- I always type 1.,2.,3. when I write tutorials and then use an editor to make the number bold. Now, because that are unnecessary clicks and work you can simply let AutoHotkey do some work for you.
Code To Correct Text, Replace Text, Fix Typos
1. Download and install AutoHotkey, website is http://www.autohotkey.com/(Download Installer for AutoHotkey Basic)
2. Open the AuthotKey.ahk with a right-click on system tray icon and then on Edit This Script

3. Insert the code. Here are the examples mentioned above:
::btw::by the way
::Morrwing::Morrowind
::1`.::1.
::2`.::2.
::3`.::3.
::4`.::4.
::5`.::5.
::6`.::6.
::7`.::7.
::8`.::8.
::9`.::9.
The first one will replace btw, the second one the typo Morrowing and the other replace numbers with HTML formatting.
The period sign in AutoHotkey needs to be escaped (same as most other programming languages). The escape character for that is `
Yes, it’s really easy to replace text or auto-correct it, that’s why I recommend to take 5 minutes and create a really long list of useful replacements and corrections.
Or you might like these sexy wallpaper, tweaks and themes:








