AutoHotkey allows you to create everything from simple, simple repetitive tasks to high-level macro and game macros that distinguish images and distinguish between different situations and conditions, as well as everyday activities, computers, and highly efficient programs that help you use the web. It is a free open source based all-purpose scripting language program. This means that anyone can easily and simply create free, personal, meccoded programs that can be ignored.
AutoHotkey's greatest abilities are introduced by GKKmon, so let's start with a simple, quick installation, basic usage, and some tips.
Download and install AutoHoteky
First, you need to download the Auto Hotkey program and install it on your PC. Because it is not a complex script program,Official Auto Hotkey download siteClick on the 'Download AutoHotkey Installer' button painted in green at the top to download 3MB of files. Or search directly for 'AutoHotkey' in Google and download the file.
Each version has a slightly different name,
When you run the setup file
When the installation is complete
You will see a menu called, Ignoring it off.
Now you can right-click anywhere on your desktop or folder,
If you want to run this Auto Hotkey in the future, click on it to open it, but if you want to modify the code contents,
Auto Hotkey Editor
When I open the editor window to create the first auto hotkey and modify the code, it will be opened with Notepad (or default text viewer program) that is built in Windows by default. You can use the Auto Hotkey editor to check the code line and check the color intuitively, and you can modify the code more easily by automatically completing the command.
SciTE4AutoHotkeyEditor Hangeul Patch
And if you actually use it, you can see that you do not need Hangul menu at all, but if you still need Hangul patch
Simple Auto Hotkey Basics Example
Now that all of the settings are over, let's make just one Auto Hotkey that you can actually use, from start to finish. We do not have to be scared, it's really simple, and it's easy to tell. We will create an auto hotkey that will open the notepad by pressing the F1 button, popping the number 123 and then popping the message saying that it is done.
First of all, right click the desktop> New>
Then right click to edit the auto hotkey>
When you first create an Auto Hotkey, the following basic text is written.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
To set a hotkey,
Once you have defined a hotkey, you must first open Notepad, the command to open the file
Now waiting for Notepad to open
F1:: run,%windir%\system32\notepad.exe winwait,ahk_class Notepad sleep,1000
Auto Hotkey basically uses milliseconds.
Now typing the keyboard
F1:: run,%windir%\system32\notepad.exe winwait,ahk_class Notepad sleep,1000 send,123
I finished the macros by finishing
F1:: run,%windir%\system32\notepad.exe winwait,ahk_class Notepad sleep,1000 send,123 msgbox,,,완료 Complete! exit
Now one Auto Hotkey Macro is complete. If you have an editor
How is it? I hope that it will be fun and prosperous to have the notepad open automatically and 123 after 1 second and the message box pop up.
AutoHotkey has so much talent that it is so unique to know it alone, so let's learn how to optimize it in GKKmon in the future. I am sure you will be your stronger and stronger assistant than anyone else, and the more you increase your Auto Hotkey skills, the more you will be overwhelmed with your remaining PC life.