
This lecture introduces HotStrings and gives a few examples how you can leverage them in virtually any Windows-based program. HotStrings are similar to autocorrect on your phone however you provide the text you want to be inserted.
In this lecture we review where to download AutoHotkey from and what version we recommend. Unicode 32 bit is the recommended version as it will allow for Unicode characters and work well with most programs.
In this session we discuss various IDEs / Editors for AutoHotkey. AutoHotkey uses plain text thus you could use notepad to edit your files however the Intellisense (color highlighting) and Calltips (code suggestions) are extremely helpful!
We used SciTE4AutoHotkey in our tutorials however AHK Studio & Notepad++ are just as strong editors.
This session we discuss the basics you want to have in your HotString script. The following three lines are the code you most-likely want to have in your initial file.
#SingleInstance, Force ;ensure only 1 version of this script will be run at a time
#Persistent ;Don't automatically exit
#NoEnv ;No Envoronment (saves memory)
In this session we talk through the concept of having your HotStrings in one file verse individual files. If you plan to create content you'll share withe colleagues, you might want to use multiple files. If you are only going to use them yourself then one is fine.
This session discusses default ending characters. Unless the Asterisk option is on, you must type an "ending" character after your HotString abbreviation to "trigger" the replacement.
We (finally) get to work on your first HotString! This session reviews just how easy it is to create some basic HotStrings. We also cover inserting line-breaks by using the ` to escape an "r"(line break) and "n" (new line).
In the early 90's nearly everything was encoded in ANSI. Today Unicode characters are much more prevalent than you would think. From things like fractions (½, ¼ , etc) to Emojis
There are some characters that AutoHotkey reserves for special actions. This lecture we review special characters and how to send them. You can also send things as "raw" by adding an "r" in between the first two colons.
We also switch to using a HotKey to reload the script. In the example it is the "Browser_forward" key (which you may/may not have on your keyboard). It can be really any key (or a combination of keys) but you want something that is convenient/easy for you to hit. In this example, when you hit it, it triggers the "reload" command and reloads the script for me.
If you are doing some programming with AutoHotkey and want to send the value of a variable in your HotString you need to use the send command and insert a return after your variable. In this lecture I also demonstrate using some of the built-in "time" variables.
In this lecture we review long HotStrings (Greater than 16 thousand characters) & special characters (New lines, etc). We review three different solutions for sending long strings.
Here you'll learn how to not include an ending character in your HotString
In this lecture we will show you how to customize what text is sent depending on what program you are in.
When you have specific HotStrings tied to a program, make sure you list them above the generic entry.
This lecture shows how you can use a HotString for launching a script / program.
In this lecture we review using your hotstrings on multiple computers or on other computers that do not have AutoHotkey installed. We demonstrate compiling your script.
Windows 7, 8, and 10 have the User Access Control which is Microsoft feature that reduces the risk of programs hijacking your computer. We do NOT recommend you turn it off (however you might disable it as a quick test to prove it is the cause of your issue).
The code shared in the video to elevate your script is as follows:
;**********The script needs to be run at an elevated level- this takes care of that*****
if not A_IsAdmin ;http://ahkscript.org/docs/Variables.htm#IsAdmin
{
Run *RunAs "%A_ScriptFullPath%" ; Requires v1.0.92.01+
ExitApp
}
In this tutorial we walk through a deeper-dive of troubleshooting your script. Be sure to download the cheat-sheet for your convenience!
Have a spell-check running in everything you do! Also the featured script makes it really easy to add new HotStrings.
The featured script in this lecture can help you keep-track of your HotStrings. It will look at ALL of your currently running HotStrings and give you a GUI to see what is running.
How would you like to increase your typing speed by 1,000% ? This course can easily do that for you! Not only will it increase your speed, it will increase your accuracy / reliability! You will be able to type a couple of letters & have it replaced with whole words / paragraphs.
In our daily life it is AMAZING how frequently we re-type the same words over and over. It might be your name, the name of your company, instructions on performing a recurring task, a greeting, a salutation, etc. The list is truly endless.
Text Expansion (HotStrings) are the simplest and fastest way to start automating your computer! Instead of trying to learn how to type 200 wpm, learn how to type 3 characters that will instantly get replaced by the entire sentences you wanted and it will be typed perfectly EVERY TIME! The best part is that AutoHotkey is free!
While the basics of HotStrings are very easy to learn, we also take a deep-dive into various scenarios where they can be more complicated & discuss trouble-shooting "tricky" issues.
Learn to work smarter, not harder by stopping to learn how to type and learn to work smarter!
Here's an overview of what you'll learn
Installing AutoHotkey and a great editor
Creating your first HotString
How to send large amounts of text (paragraphs, entire documents, etc.)
Creating context-sensitive HotStrings (Program specific)
Working with multiple computers
Using AutoHotkey HotStrings in games
Troubleshooting - What to do when things go wrong