MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey

github.com/AutoHotkey/AutoHotkey @v2.0-a138

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.0-a138 ↗ · + Follow
2,202 symbols 5,455 edges 109 files 137 documented · 6% updated 58d agov2.0.26 · 2026-05-04★ 12,720

Browse by type

Functions 1,855 Types & classes 347
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

AutoHotkey_L

AutoHotkey is a free, open source macro-creation and automation software utility that allows users to automate repetitive tasks. It is driven by a custom scripting language that is aimed specifically at providing keyboard shortcuts, otherwise known as hotkeys.

AutoHotkey_L started as a fork of AutoHotkey but has been the main branch for some time.

https://autohotkey.com/

How to Compile

AutoHotkey v2 is developed with Microsoft Visual Studio Community 2019, which is a free download from Microsoft.

  • Get the source code.
  • Open AutoHotkeyx.sln in Visual Studio.
  • Select the appropriate Build and Platform.
  • Build.

The project is configured in a way that allows building with Visual Studio 2012 or later. However, for the v2 branch, some newer C++ language features are used and therefore a later version of the compiler might be required.

The project is configured to use a platform toolset with "_xp" suffix, if available.

Build Configurations

AutoHotkeyx.vcxproj contains several combinations of build configurations. The main configurations are:

  • Debug: AutoHotkey.exe in debug mode.
  • Release: AutoHotkey.exe for general use.
  • Self-contained: AutoHotkeySC.bin, used for compiled scripts.

Secondary configurations are:

  • (mbcs): ANSI (multi-byte character set). Configurations without this suffix are Unicode.
  • (minimal): Alternative project settings for producing a smaller binary, possibly with lower performance and added dependencies.

Platforms

AutoHotkeyx.vcxproj includes the following Platforms:

  • Win32: for Windows 32-bit.
  • x64: for Windows x64.

AutoHotkey supports Windows XP with or without service packs and Windows 2000 via an asm patch (win2kcompat.asm). Support may be removed if maintaining it becomes non-trivial. Older versions are not supported.

AutoHotkey v2 Alpha

https://autohotkey.com/v2/

v2 Branch

Core symbols most depended-on inside this repo

Shape

Method 1,096
Function 759
Class 275
Enum 72

Languages

C++85%
C15%

Modules by API surface

source/script.h202 symbols
source/script2.cpp176 symbols
source/script.cpp165 symbols
source/script_gui.cpp121 symbols
source/lib_pcre/pcre/pcre_jit_compile.c110 symbols
source/script_object.cpp95 symbols
source/script_object.h90 symbols
source/var.h76 symbols
source/KuString.h71 symbols
source/util.cpp67 symbols
source/lib_pcre/pcre/sljit/sljitLir.c63 symbols
source/defines.h61 symbols

For agents

$ claude mcp add AutoHotkey \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page