FileCobra Logo FileCobra
AutoHotkey: Custom Keyboard Shortcuts & Windows Automation Icon
Open Source v2.0.26

AutoHotkey v2.0.26 - Custom Keyboard Shortcuts & Windows Automation

AutoHotkey (AHK) is the ultimate free, open-source custom scripting language and desktop automation engine developed by the AutoHotkey Foundation (Lexikos...

Technical Specifications & System Requirements

Developer Lexikos / AHK Team (Open Source)
Platform & OS Windows 11 / 10 / 7
Package Size 2.9 MB
Architecture x64
Package Format EXE Repack
Security Verification Publisher release (no checksum published)

We have not published a SHA-256 for this build. Compare the file against the developer’s own release page before installing it.

Software notes

The Bottom Line: AutoHotkey is a Open Source release from Lexikos / AHK Team (Open Source), mirrored from the publisher's own build.

AutoHotkey for Windows PC — Official Windows Macro Scripting & Automation Engine

AutoHotkey (AHK) is the ultimate free, open-source custom scripting language and desktop automation engine developed by the AutoHotkey Foundation (Lexikos / Chris Mallett) for Microsoft Windows. Engineered to provide limitless customization over operating system workflows, AutoHotkey allows users to create simple keyboard shortcuts, complex multi-step macros, custom desktop graphical interfaces (GUIs), text expansion hotstrings, and automated robotic process tasks with exceptional speed and microsecond execution precision.

---

🌟 Core Architecture & Engineering Highlights

AutoHotkey v2 represents a complete modern architectural redesign, transitioning to a clean, expression-based scripting language with robust error handling and low-level Win32 API hooks.

Low-Level Keyboard & Mouse Input Interception

AutoHotkey installs native Win32 low-level keyboard (WH_KEYBOARD_LL) and mouse (WH_MOUSE_LL) hooks into the Windows messaging subsystem. This allows scripts to intercept, suppress, or modify raw hardware keystrokes and scan codes before they reach active foreground applications.

C++ Fast Interpreted Scripting Engine

The AutoHotkey v2 interpreter is compiled in high-performance native C++. It compiles user scripts into an optimized internal Abstract Syntax Tree (AST) upon launch, delivering instantaneous execution times (< 0.05 ms per keystroke trigger) with a lightweight memory footprint of under 4 MB RAM.

Direct COM (Component Object Model) & DLL Calling

Power users can interface directly with external Windows libraries using DllCall() and interact with Microsoft Office (Excel, Word, Outlook), Windows Shell, and system hardware via native Component Object Model (COM) interfaces, turning complex enterprise tasks into fully automated background processes.

---

⚙️ Key Capabilities & Workflow Features

AutoHotkey provides a versatile set of tools for daily productivity, coding, and workflow optimization.

1. Universal Hotkeys & Keyboard/Mouse Remapping

Remap any key, mouse button, joystick button, or combination of modifiers (Ctrl, Alt, Shift, Win) to perform custom actions. Disable accidental Windows key presses while gaming or assign dedicated volume and media controls to standard function keys.

2. Instant Text Expansion (Hotstrings)

Define custom abbreviations that instantly expand into full paragraphs, email templates, code snippets, or formatted text. For example, typing ::btw::by the way or ::sig::[Your Full Email Signature] replaces the text instantaneously across all Windows applications.

3. Custom Graphical User Interfaces (GUIs)

Design standalone desktop utility windows, floating calculator bars, custom search dashboards, and quick-launcher menus using AutoHotkey v2's intuitive Gui() object system with buttons, edit fields, dropdowns, and progress bars.

4. Active Window Spy & Forensic Screen Inspector

Use the included Window Spy utility to inspect active window titles, class names (ahk_class), process IDs (PID), control names, mouse screen coordinates, and exact hex pixel colors under the cursor for bulletproof automation scripting.

---

📊 Comprehensive Head-to-Head Comparison Matrix

Evaluation DimensionAutoHotkey (FileCobra)Microsoft PowerToysPython (PyAutoGUI)
Language ExpressivenessDedicated Automation SyntaxPre-Set Feature TogglesGeneral Purpose Python
Keyboard/Mouse Hook PrecisionLow-Level Native Win32 HookBasic Key RemappingUser-Space Event Polling
Text Replacement HotstringsInstant Universal ReplacementQuick Accent OnlyComplex Setup Required
Portable Standalone ExecutableAhk2Exe Converter IncludedRequires Full PowerToys AppRequires PyInstaller (~50MB)
Telemetry & AnalyticsZero Telemetry (100% Offline)Microsoft TelemetryZero Telemetry
Community Script RepositoryMassive Global Forum & GitHubGitHub DiscussionsPyPI Ecosystem

---

📋 Technical Hardware & System Requirements

AutoHotkey is one of the lightest software utilities available for Windows:

Hardware ComponentMinimum System RequirementRecommended Performance Spec
Operating SystemWindows 11 / 10 / 8.1 / 7 (32-bit & 64-bit)Windows 11 64-bit (Version 23H2 / 24H2)
Processor (CPU)Any x86 / x64 / ARM64 ProcessorModern Intel / AMD / Snapdragon X Elite
System Memory (RAM)256 MB RAM1 GB+ RAM
Storage Space10 MB free disk spaceHigh-speed SSD
PermissionsStandard User (Admin for elevated games)Standard User

---

🛠️ Step-by-Step Installation & Quick Setup Guide

Follow this guide to create and run your first AutoHotkey script on Windows:

1. Downloading and Installing AutoHotkey v2

  1. Download the verified installer (AutoHotkey_2.0.x_setup.exe) from FileCobra.
  2. Run setup and choose Install for all users (or Current User).

2. Creating Your First Script

  1. Right-click on your Windows Desktop or in File Explorer and choose New > AutoHotkey Script.
  2. Name the file MyShortcuts.ahk, right-click it, and select Edit Script (opens in Notepad or VS Code).

3. Adding Shortcuts & Running the Script

  1. Paste the following example code:

```ahk

#HotIf WinActive("ahk_exe chrome.exe")

^!t::Run("wt.exe") ; Ctrl+Alt+T launches Terminal

::btw::by the way ; Hotstring text expansion

```

  1. Save the file and double-click MyShortcuts.ahk to run. You will see the green "H" icon in your Windows system tray!

---

🔒 Security, Privacy & Platform Integrity Analysis

AutoHotkey maintains an impeccable open-source reputation:

  • 100% Free & Open Source: Fully open source under GNU GPLv2, with zero adware, bundled toolbars, or telemetry.
  • Local On-Device Execution: Runs completely offline, never transmitting keystrokes or scripts over the network.

---

❓ Frequently Asked Questions (FAQ)

Can AutoHotkey be used to automate web browsers?

Yes! AutoHotkey can automate browsers using UI keystrokes, direct COM automation with Internet Explorer/Edge, or through specialized browser extensions and Chrome DevTools Protocol (CDP) libraries.

What is the difference between AutoHotkey v1 and v2?

AutoHotkey v2 is a modern rewrite featuring consistent expression syntax, structured data types, improved error reporting, and removal of ambiguous legacy commands found in v1.

Can I compile an AutoHotkey script into an independent EXE file?

Yes! Using the included Ahk2Exe compiler tool, you can convert any .ahk script into a standalone .exe file that runs on any Windows PC without installing AutoHotkey.

AutoHotkey UI & Interface Screenshots

AutoHotkey: Custom Keyboard Shortcuts & Windows Automation official screenshot preview 1
AutoHotkey v2.0.26 interface preview (1/1)

How to Install & Verify AutoHotkey

STEP 1
Download Setup

Download AutoHotkey_2.0.18_setup.exe.

STEP 2
Install & Create Script

Run setup, right click anywhere on Desktop -> New -> AutoHotkey Script.

AutoHotkey Version History & Build Numbers

Every AutoHotkey build FileCobra has mirrored, newest first. Match the build number against the copy you already have to confirm whether you are up to date.

AutoHotkey v2.0.26 Current Released 2026-08-17
2.9 MB • EXE Repack
AutoHotkey v2.0.18 Released 2026-07-29
4.8 MB • EXE Repack
  • Previous stable master release.

Frequently Asked Questions & Verification Guide

What is the difference between AutoHotkey v1 and v2?

AutoHotkey v2 is a modern rewrite with consistent expression syntax — everything is a function call, strings are always quoted, and errors give proper messages with stack traces. Version 1's legacy command syntax (`Send, text` with a comma, unquoted strings) no longer works in v2, so v1 scripts must be migrated. New users should always start with v2; v1 is frozen and deprecated.

Show me one small script that proves what AutoHotkey can do.

Create a text file ending in `.ahk` and paste this: ``` ; Press Caps Lock to send Escape instead CapsLock::Escape ; Type "sig" anywhere to expand your signature ::sig::Jane Doe | jane@example.com ; Win+J pastes today's date #j::Send(FormatTime(, "yyyy-MM-dd")) ``` Double-click the file to run it. The remap works system-wide, the hotstring expands in any app, and Win+J types the date — that is the whole AutoHotkey workflow in miniature.

Why does my antivirus flag my compiled AutoHotkey script?

Yes, and it is almost always a false positive. AutoHotkey compiles scripts with a standard executable packer that malware authors also use, so antivirus engines and Windows SmartScreen flag compiled scripts heuristically. The source project is open and widely trusted — whitelist your own scripts in your antivirus rather than disabling protection.

Can I turn my script into a standalone EXE file?

Yes. The installer includes Ahk2Exe, which converts any `.ahk` script into a standalone `.exe` that runs on any Windows PC without AutoHotkey installed. Right-click a script file and choose 'Compile Script', or run Ahk2Exe directly for icon and version-info options.

Can I use AutoHotkey to automate games?

For single-player games and simple pixel-check automation, yes — AutoHotkey can read pixel colors, send timed inputs and loop routines. For online games, do not: anti-cheat systems (Vanguard, EAC, BattleEye and others) detect and ban automation, including innocent-looking macros. Automate your workflow apps freely; leave competitive multiplayer alone.

Does AutoHotkey work on Windows 11?

Yes. Version 2.0.30 runs on Windows 7 through Windows 11 in 32-bit and 64-bit editions, with full Unicode support. If you are on an older machine, v1 scripts from the archives will not run on v2 without migration.

Will text expansion work in all my apps, or only some?

Hotstrings work system-wide in virtually every Windows application — email clients, browsers, IDEs, Office — because they hook keyboard input at the OS level. Type your abbreviation and the replacement appears instantly, which is why text expansion alone saves many users hours a month.

Where do I actually learn the language?

Start with the built-in help file installed alongside the program — press F1 from any script or open it from the Start menu; it documents every command with examples. The official forum at autohotkey.com is very active and most automation ideas already exist there as copy-paste starting points. Fair warning: the docs are a reference, not a course, so the first week feels steep.