
It can also individually disable or override Windows' shortcut keys, such as Win+R/E. In addition to its automation features described below, it excels at hotkeys, making virtually any keyboard key, mouse/joystick button, or combination into a fast hotkey.
You won't see anything happen, but AutoHotkey is now running the script, and if you press Windows key+ Q anywhere that accepts text, it writes "Hello World!" automatically.AutoHotkey provides a fast, scriptable freeware desktop automation tool with hotkeys.Įasily Automate almost anything you want: Send keystrokes & mouse clicks launch programs and documents work with the clipboard, registry, & sound card settings.
Run the script by double-clicking the file. Open a new File Explorer window (keyboard: Windows key+ E) and go to Documents. This script, AutoHotkey.ahk, is located in your Documents folder. Once the above code is added to your script or other code is added to your script. In the example, the code writes "Hello World!" any time the Windows key+ Q is pressed on the keyboard. For example, you can enter the following code into Notepad. (A script is a plain text file containing commands to be run by another program (e.g., AutoHotkey). The installer now exits, and a new text file opens in Notepad, which will be our script. The installer will then ask if you want to edit a new AutoHotkey script. To open it later, you can find it in your Start menu under AutoHotkey → AutoHotkey Help File. Once the AutoHotkey help file opens, you can read or close it now. When the installation is complete, you are presented with another menu. Otherwise, it's okay to choose Express Installation. If you want to view all your installation options, you can choose Custom Installation. The installer gives you the option of Custom Installation or Express Installation. The UAC prompt asks for permission to install it.
When the download is complete, run the installer.
Below are the steps on how to install AutoHotkey on your computer. AutoHotkey is a fantastic free and open source Microsoft Windows tool that lets you create macros, scripts, and automate frequently performed tasks on your computer.