Measures Concepts
GitHub icon

AutoHotkey

AutoHotkey - Programming language

< >

AutoHotkey is an open source programming language created in 2003.

#321on PLDB 21Years Old 15kRepos

AutoHotkey is a free, open-source custom scripting language for Microsoft Windows, initially aimed at providing easy keyboard shortcuts or hotkeys, fast macro-creation and software automation that allows users of most levels of computer skill to automate repetitive tasks in any Windows application. User interfaces can easily be extended or modified by AutoHotkey (for example, overriding the default Windows control key commands with their Emacs equivalents). The AutoHotkey installation includes its own extensive help file with an always updated web-based version.. Read more on Wikipedia...


Example from hello-world:
MsgBox, Hello World
; Hello World in AutoHotkey Msgbox Hello, World!
Example from Linguist:
MsgBox, Hello`, World!
Example from Wikipedia:
^+w::last := CopyUser() ; Ctrl+Shift+w ^+e::edit := CopyUser() ; Ctrl+Shift+e CopyUser() { Clipboard = StringReplace, Clipboard, Clipboard, http://en.wikipedia.org/ StringReplace, Clipboard, Clipboard, wiki/ StringReplace, Clipboard, Clipboard, w/index.php?title= StringReplace, Clipboard, Clipboard, Special:Contributions&target= StringReplace, Clipboard, Clipboard, User: StringReplace, Clipboard, Clipboard, &action=edit StringReplace, Clipboard, Clipboard, _, %A_Space%, All Return, Clipboard } ; Ctrl+Shift+r ^+r::Send revert edits by [[Special:Contributions/%edit%|%edit%]] to last version by %last%

Language features

Feature Supported Token Example
Integers ✓
; \d+
Floats ✓
; (\d+\.\d*|\d*\.\d+)([eE][+-]?[0-9]+)?
Hexadecimals ✓
; 0[xX][a-fA-F0-9]+
Octals ✓
; 0\d+
Assignment ✓ :=
Line Comments ✓ ;
; A comment
Case Insensitive Identifiers ✓
Comments ✓
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout