Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

AutoHotkey

< >

AutoHotkey is an open source programming language created in 2003.

#158on PLDB 21Years Old 15kRepos
Homepage · Wikipedia

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 Example Token
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

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v164.7.0