AutoHotkey is an open source programming language created in 2003.
#157on 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...
MsgBox, Hello World
; Hello World in AutoHotkey
Msgbox Hello, World!
MsgBox, Hello`, World!
^+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%
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 |