Although hotstrings are mainly used to expand abbreviations as you type them (auto-replace), they can also be used to launch any scripted action. In this respect, they are similar to hotkeys except that they are typically composed of more than one character (that is, a string).
Both hotstrings and hotkeys in AutoHotkey are powerful tools that can be used to automate tasks on a Windows computer.
Hotkeys are keyboard shortcuts that can be used to trigger a specific action or script. For example, you can use a hotkey to launch a program, open a file, or execute a series of commands. Hotkeys can be created to trigger a specific action when a specific key or combination of keys is pressed.
Hotstrings are similar to hotkeys, but they are triggered by typing a specific string of characters. For example, you could create a hotstring that automatically expands a short abbreviation into a longer phrase or sentence. Hotstrings can be used to save time and reduce the risk of errors when typing repetitive or commonly-used phrases.
Overall, both hotkeys and hotstrings can be powerful tools for automating tasks on a Windows computer. The choice between using hotkeys or hotstrings will depend on the specific needs and requirements of your automation tasks.
In this AutoHotkey Tutorial for Beginners I walk you through what you need to get started and help you write your first AutoHotkey script. Below are some convenient links to the tools you’ll want starting out with AutoHotkey.
AutoHotkey Tutorial for Beginners: What you’ll learn
Step #1: Which version of AutoHotkey to use @ 3:15 Step #2: Which editor to use with AutoHotkey @4:36 Step #3: Trigger Commands, Programs / Scripts / Websites by hitting key-combinations (Hotkeys)@11:07 Step #4: Type a few letters and have them replaced with the long strings of text (Hotstrings)@26:29 Step #5: Use a spell checker that will run on every Windows program @34:49 Step #6: Remap keys /key combinations @43:29 Step #7: Send a Mouse Click to specified coordinates @47:12 Step #8: Compile a script so you can give it to someone else to run on their computer @53:09 Step #9: Information & Resources where to go when you need help @54:52Continue reading
While FindText is still a great tool, I recommendyou check out the tool I’ve created Automate my Task . It has many more built-in features as well as allowing you to record multi-step processes, send text, use control clicks & more.
I recently played with this great AutoHotkey function FindText(). The program is similar to AutoHotkey’s built-in ImageSearch functionality however it works more reliably and does not need a local file/copy of the image. The name of the function is a bit misleading in that it really just helps you find and click images.
My first video below demonstrates most of the basic functionality of the tool. The second video shows the usage of the functions that I wrote to help clicking, sending text, etc.
Here is my version of the FindText function which includes the functions I demonstrate in the second video. If you’d like the hotstrings I used they are below also (mine are in my main AutoHotkey.ahk file)
Demonstration of custom AutoHotkey functions to find image and click it.