AutoHotKey is a background tool that allows you to create scripts for keystrokes. The key combinations assigned in the script will serve as commands to call the characters you want to type quickly. AutoHotkey operates based on edited script codes, without a graphical interface, yet its usage remains extremely easy. Mytour will guide you to create shortcuts and typing abbreviations with AutoHotkey in the simplest way.
Creating Typing Shortcut Scripts with AutoHotKey
Step 1: Download and Install AutoHotKey
Step 2: Right-click on the desktop, select New, then choose AutoHotkey Script
Step 3: Give a name to the newly created script file, right-click and select Edit Script to proceed with editing the shortcut script
Here, you will type in the code segments representing the shortcut script.
Example: To type the character α, instead of searching and copying characters, you can set a shortcut command for the character α using a shortcut key combination. Here, the combination is Alt + Shift + A
You input the code snippet as shown below
! replaces the key Alt
+ replaces the key Shift
a replaces the key A
::symbolizes the combination of the preceding key
Send is the command for typing text
After inputting the code snippet, press Ctrl+ S to save. Then open a text file to try typing the shortcut
Typing a text passage abbreviation
In addition to abbreviating characters, you can also replace a certain phrase with a text passage. The steps are as follows
In the shortcut script editor, you input the code snippet
:* :shortcut phrase ::text passage
Example
After saving, open any text file, type the shortcut key combination, and the text passage will appear to replace it
Typing the current date and time abbreviation into the text passage
You can also quickly insert the current date and time into a text passage by placing the shortcut code snippet into the script as shown below
As per the script, when you type the key combination Alt + Shift + D, the current date and time will be immediately inserted into the text passage you're typing.
Thus, with just a few simple lines of code, you can create shortcuts and typing abbreviations with AutoHotKey for convenience in document editing. You can also download and refer to how to type shortcuts on Unikey with a similar mechanism.
Similar to many other tools and software, Excel spreadsheet creator also supports various shortcuts for users to perform actions more quickly. Refer to the detailed Excel shortcuts we have listed to learn how to use them.
