Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AHK ConverterNew to Visual Studio Code? Get it now.
AHK Converter

AHK Converter

DB Cooper

|
175 installs
| (0) | Free
Convert AutoHotkey v1 scripts to v2 using the community converter and AutoHotkey v2.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
🧩 VS Code Extension 🔁 AHK v1 → v2 📂 Open Source

AHK Converter v0.1.5

Convert AutoHotkey v1 scripts to v2 inside VS Code

AHK Converter icon

Features Installation Usage Settings

Features

  • Convert an open AHK v1 script to v2 using the community converter
  • Open the result in a new tab, replace the current file, or view a diff
  • Works offline

Installation

  1. Install AutoHotkey v2.
  2. Install this VS Code extension (from VSIX or by opening the folder in VS Code and pressing F5 to launch the Extension Host).
  3. Optional: set the configuration values below.

Usage

  1. Open a v1 .ahk file in VS Code.
  2. Run one of the commands:
    • AHK: Convert v1 to v2 - open in new tab
    • AHK: Convert v1 to v2 - replace current file
    • AHK: Convert v1 to v2 - show diff

Settings

  • ahkConverter.autoHotkeyV2Path: Path to the AutoHotkey v2 executable. If empty, uses AutoHotkey64.exe from PATH.
  • ahkConverter.converterScriptPath: Path to v2converter.ahk. Defaults to the bundled file at ${extensionPath}/vendor/v2converter.ahk.
  • ahkConverter.strictWindowsOnly: If true, warn on non-Windows platforms.

Notes

  • The converter writes <input>_newV2.ahk next to the input. The extension uses a temp folder so your files are not touched unless you choose Replace.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft