AutoHotkey

AutoHotkey is a free, open-source scripting language for Windows that allows users to easily create small to complex scripts for all kinds of tasks such as: form fillers, auto-clicking, macros, etc.

AutoHotkey gives you the freedom to automate any desktop task. It’s small, fast and runs out-of-the-box. Best of all, it’s free, open-source (GNU GPLv2), and beginner-friendly. Why not give it a try?

Learn more about this scripting language on AutoHotkey.com.

Additional Resources

Scripts

AutoHashBang

HashBangs for AutoHotkey

Specify which executable to run your script with by using an interpreter directive.

Project Page

Automatic Minesweeper

Automatically beat Windows XP’s Minesweeper by reading the positions of the mines straight out of memory.

Project Page

Binary Clock

A short script for creating and displaying a small binary clock.

Project Page

CodeQuickTester

The quick code tester

A dynamic code tester that allows you to write and execute AutoHotkey code without temporary files.

View on GitHub 69 17

Lock Windows on laptop lid close

A script to lock your active Windows session (similar to pressing Windows-L) when you close your laptop’s lid.

Project Page

MyRC

IRC Client and Bot Framework

A flexible class based IRC client and bot framework. Used as one of the official IRC bots in the #ahk and #ahkscript channels on freenode.

View on GitHub 19 9

Piet Interpreter

A Piet interpreter written in AutoHotkey. Read more about the Piet programming language on wikipedia

View on GitHub 10 2

Games

15 Puzzle

One of my early attempts at a tile based game, the classic 15 puzzle

Project Page

Othello

A work-in-progress implementation of the classic Othello board game

View on GitHub 4 2

Libraries

AHKonsole

Class based console library

A class based wrapper for the win32 console. Included with it is a Tetris clone, syntax highlighter, and proof of concept TUI IRC client.

View on GitHub 30 6

Chrome.ahk

Automate Google Chrome using native AutoHotkey.

View on GitHub 215 57

Discord.ahk

Write Discord bots in AutoHotkey

View on GitHub 12 8

FixIE

Embed the latest IE instead of IE7

Tell Windows to disable browser emulation for embedded ActiveX controls in your application.

Project Page

HtmlBox

MsgBox replacement that uses embedded HTML

An HTML based replacement for the built in “MsgBox” dialog box.

Project Page

Neutron.ahk

Neutron provides a powerful set of tools for build HTML-based user interfaces with AutoHotkey. It leverages the Trident engine, known for its use in Internet Explorer, because of its deep integration with the Microsoft Windows operating system and its wide availability across systems.

View on GitHub 106 16

Pig Latin translator

A library for converting English text to and back from Pig Latin

Project Page

RemoteObj.ahk

Access objects remotely over the network

Allows users to publish and access objects over the network by serializing the requests as JSON.

View on GitHub 12 1

Simple GDI Class

A class aiming to make using low-level GDI functions simple.

Project Page

Socket.ahk

A socket library based on previous work by forum user Bentschi

View on GitHub 46 13

WebSocket.ahk

Connect to a WebSocket server using AutoHotkey

View on GitHub 40 18

Tutorials

Classes in AHK, a Dissection

An attempt at demystifying the inner workings of classes in AutoHotkey.

Project Page

How to create custom enumerator objects

All about creating custom enumerators

Project Page

Tips, Tricks, and Standalones

Code snippets and techniques for writing better scripts

Project Page