// guess the programming language of the day

$ whois autohotkey

AutoHotkey

first released in 2003 · by Chris Mallett

$ guessprog --inspect autohotkey

year
2003
paradigm
procedural
family
other
memory
reference counting
binding
dynamic
safety
weak

AUTOHOTKEY(7)

AUTHORS
Chris Mallett
HISTORY
Chris Mallett released AutoHotkey in 2003 as a free scripting language for automating Windows. He had proposed adding hotkey support to AutoIt, another Windows automation tool, and when the idea found no takers he built his own program with a syntax based on AutoIt's. Scripts can remap keys, expand typed abbreviations, send keystrokes and mouse clicks, and control windows, which made it popular with people who are not professional programmers. Version 2, a largely incompatible cleanup of the syntax, was released in 2022.
USAGE
Widely used by Windows power users, gamers and office workers to automate repetitive tasks and create keyboard shortcuts. It is a niche, Windows-only tool with an active community rather than a general-purpose language.
SEE ALSO
AutoHotkey on Wikipedia ↗
$ cat shortcuts.ahk
; Ctrl+Alt+N focuses Notepad, or starts it if not running
^!n:: {
    if WinExist("ahk_exe notepad.exe")
        WinActivate
    else
        Run "notepad.exe"
}

; Typing "btw" followed by a space expands it
::btw::by the way

; Win+Up toggles always-on-top for the active window
#Up::WinSetAlwaysOnTop -1, "A"