Writing AutoHotkey Functions to Make Life Easier

If You Find That You Often Rewrite the Same or Similar Code, Then Investigate Using a Function

Updated: March 7, 2020

A Question about AutoHotkey Functions:

Hi Jack, I very much appreciate your simple and easy to understand explanations and would really appreciate it if you would do a blog on how to use Functions in AutoHotkey. I’ve put together a tool for work that writes a series of different text strings based on menu choices and need to be able to log their use. My efforts to do so by using Functions have come to naught and I have fallen back to a series of several repetitive statements that I know could be done much more neatly. I’d be happy to send you an example if you’d like to work from that. Thanks! [Example received.]

Gary Cassidy Continue reading

AutoCorrect Anything in Windows with AutoHotkey

Commonly Misspelled Words Instantly Correct Themselves Right Before Your Eyes

I’ve been using AutoHotkey for a number of years, but one of the most satisfying apps that I use every day—whether writing an e-mail, working on this blog, or filling out Web forms—consists of an implementation of AutoHotkey AutoCorrect. Whenever I mistype the word “the” by entering “eht” or ” teh” it automatically changes to the correct form. “Mispelling” turns into “misspelling.” “They;re” converts to “they’re.” It’s great when I make a mistake and see it fixed right before my eyes. AutoCorrect offers one of the most powerful ways for the average person to use AutoHotkey and it’s so easy to do. Continue reading

AutoHotkey Vs. AutoIt Free Windows Scripting Languages

While Both AutoHotkey and AutoIt Are Powerful Scripting Languages, AutoHotkey Has the Advantage of Simple, Built-In Support for Hotkeys and Hotstrings—Making It the Choice for People Who “Don’t Want to Learn That Much Programming!”

When planning to automate Windows computer tasks, people are faced with a decision between the AutoHotkey and AutoIt scripting languages. Since both come from the same roots, you might expect that many things you learn in one of the free programs would apply to both. If that were true, then there would be no decision. Continue reading