Thanks for watching, don't forget to rate comment and subscribe:)! LINKS AHKDictionary: Hotkey notations: http:/.
(Redirected from Autohotkey)
Developer(s) | Chris Mallett, Steve Gray |
---|---|
Initial release | July 18, 2008; 10 years ago[1][2] |
Stable release | |
Preview release |
2.0-a100 / October 5, 2018; 8 months ago[4]
|
Repository | |
Operating system | Microsoft Windows |
Type | |
License | GPL |
Website | autohotkey.com |
AutoHotkey is a free, open-source custom scriptinglanguage for Microsoft Windows, initially aimed at providing easy keyboard shortcuts or hotkeys, fast macro-creation and softwareautomation 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).[5] The AutoHotkey installation includes its own extensive help file, and web-based documentation is also available.[6]
Features[edit]
AutoHotkey scripts can be used to launch programs, open documents, emulate keystrokes, Unicode characters, and mouse clicks and movements.[7] AutoHotkey scripts can also assign, retrieve, and manipulate variables, run loops and manipulate windows, files, and folders. These commands can be triggered by a hotkey, such as a script that would open an internetbrowser whenever the user presses Ctrl+Alt+I on the keyboard. Keyboard keys can also be remapped or disabled, such that pressing Ctrl+N, for example, might result in the active window receiving an en dash (–), or nothing at all.[8] AutoHotkey also allows for 'hotstrings' that will automatically replace certain text as it is typed; the most typical use for hotstrings is expanding abbreviations, such as assigning the string 'btw' to produce the text 'by the way' when typed, or the text '%o' to produce 'percentage of'.[9] Further, some scripts can be initiated automatically at computer startup and need not interact with the keyboard at all, perhaps performing file manipulation at a set interval.[10]
More complex tasks can be achieved with custom data entry forms (GUI windows), working with the system registry, or using the Windows API by calling functions from DLLs. The scripts can be compiled into an executable file that can be run on other computers that do not have AutoHotkey installed. The source code is in C++ and can be compiled with Visual Studio Express.
Memory access through pointers is allowed just as in C.[11]
Some uses to which AutoHotkey can be put:
- Remapping the keyboard, such as from QWERTY to Dvorak or other alternative keyboard layouts.
- Using shortcuts to fill in frequently-used file names or other phrases.
- Typing punctuation not provided on the keyboard, such as curved quotes (“…”).
- Controlling the mouse cursor with a keyboard or joystick.
- Opening programs, documents, and websites with simple keystrokes.
- Adding a signature to e-mail, message boards, etc.
- Monitoring a system and automatically closing unwanted programs.
- Scheduling an automatic reminder, system scan, or backup.
- Automating repetitive tasks.
- Filling out contest and freebie forms automatically (i.e., it can type in your name, address, etc. automatically).
- Prototyping before implementing in another, more time consuming, programming language.
History[edit]
The first public beta of AutoHotkey was released on November 10, 2003[12] after author Chris Mallett's proposal to integrate hotkey support into AutoIt v2 failed to generate response from the AutoIt community.[13][14] So the author began his own program from scratch basing the syntax on AutoIt v2 and using AutoIt v3 for some commands and the compiler.[15] Later, AutoIt v3 switched from GPL to closed source because of 'other projects repeatedly taking AutoIt code' and 'setting themselves up as competitors.'[16]
In 2010, AutoHotkey v1.1 (originally called AutoHotkey_L) became the platform for ongoing development of AutoHotkey.[17] Another port of the program is AutoHotkey.dll.[18]
Examples[edit]
The following script will allow a user to search for a particular word or phrase using Google. After copying text from any application to the clipboard, pressing the configurable hotkey ⊞ Win+G will open the user's default web browser and perform the search.
The following script defines a hotstring that enables the user to type 'afaik' in any program and have it automatically replaced with 'as far as I know':
The example below makes Ctrl+⇧ Shift+Q replace selected text in an editor with a quoted version of that text. It illustrates the use of functions, arguments and default argument values.
Community[edit]
The online community forum for AutoHotkey has around 24,000 registered users and around 194,000 posts as of May 2018.[19]
The online chat room for AutoHotkey is located on FreenodeIRC with an average of 40 connected users as of February 2008.[20]
The administration of the official site has had many changes over its history.[21][22][23]
User-contributed features[edit]
![Recorder Recorder](/uploads/1/2/4/7/124734853/655101923.png)
There are extensions/interops/inline script libraries available for usage with/from other programming languages:
- VB/C# (.NET)[24]
- Lua[25]
- Lisp[26]
- ECL[27]
- VBScript/JScript (Windows Scripting Host)[28]
- Embedded machine code[29]
Other major plugins enable support for:
- Aspect-oriented programming
- Function hooks[30]
- COM wrappers[31]
- Console interaction[32]
- Dynamic code generation[33]
- HIDs[34]
- Internet Explorer automation[35]
- GUI creation[36]
- Web services[37]
- Synthetic programming[38]
- Windows event hooks[39]
Malware[edit]
When AutoHotkey is used to make self-contained software for distribution, that software must include the part of AutoHotkey itself that understands and executes AutoHotkey scripts, as it is an interpreted language. Inevitably, some malware has been written using AutoHotkey.[40] When anti-malware products attempt to earmark items of malware that have been programmed using AutoHotkey, they sometimes falsely identify AutoHotkey as the culprit rather than the actual malware.[41][42][43][44][45][46][47]
See also[edit]
- AutoIt (for Windows)
- KiXtart (for Windows)
- Winbatch (for Windows)
- Macro Express (for Windows)
- Bookmarklet (for web browsers)
- iMacros (for Firefox, Chrome, and Internet Explorer)
- AutoKey (for Linux)
- Automator (for Macintosh)
- Keyboard Maestro (for Macintosh)
References[edit]
- ^'Changes & New Features AutoHotkey (sorted by date)'.
- ^'L4 Source Code (sorted by date)'.
- ^'AutoHotkey Downloads'.
- ^'AutoHotkey v2 Downloads (sorted by date)'.
- ^Contact Erica Sadun: Comment (2005-08-19). 'Ericasadun 2005 Life Hacker'. Lifehacker.com. Retrieved 2011-12-02.
- ^https://autohotkey.com/docs/AutoHotkey.htm
- ^'AutoHotkey Tutorial: Macro and Hotkey Creation'. Autohotkey.com. Retrieved 2011-12-02.
- ^'Remapping Keys and Buttons'. Autohotkey.com. Retrieved 2011-12-02.
- ^'Hotstrings and Auto-replace (similar to AutoText and AutoCorrect)'. Autohotkey.com. 2005-01-09. Retrieved 2011-12-02.
- ^'Hotkeys, Hotstrings, and Remapping'. Autohotkey.com. Retrieved 2018-05-23.
- ^'AutoHotkey Changes and New Features, v1.0.47 - June 19, 2007'. Autohotkey.com. Retrieved 2011-12-02.
- ^'AutoHotkey Changelog for Years 2003-2004'. Autohotkey.com. Archived from the original on 2011-11-04. Retrieved 2011-12-02.
- ^'Author Chris Mallett's post on the AutoHotkey Forums'. Autohotkey.com. Retrieved 2011-12-02.
- ^'An AutoIt / AutoHotkey nonfunctional comparison'. Paperlined.org. Retrieved 2011-12-02.
- ^'Author Chris Mallett's post on the AutoHotkey Forums'. Autohotkey.com. Retrieved 2011-12-02.
- ^'Licensing Opinions - AutoIt Forums'. Autoitscript.com. Retrieved 2011-12-02.
- ^'Forum post by Chris, announcing AutoHotkey_L now main platform'. Autohotkey.com. Retrieved 2011-12-02.
- ^'AutoHotekey.dll Module'. github.io. Retrieved 13 May 2017.
- ^'AutoHotkey Community - Index page'. autohotkey.com. Statistics section, near the bottom of the page. Retrieved 2018-05-22.
- ^'[Live Chat] Instant AutoHotkey help! Just add water...' Autohotkey.com. 5 February 2008. Retrieved 2018-05-23.
- ^'AutoHotkey Changelog for Years 2003-2004'. wayback.archive.org. Retrieved 2018-03-29.
- ^'The AutoHotkey Foundation : Our History'. The AutoHotkey Foundation. 2014-05-26. Retrieved 2016-07-23.
- ^'The future of AutoHotkey.com'. Chris. 2012-01-26. Retrieved 2012-02-01.
- ^.NET Framework
- ^LibLua
- ^Lisp on win32
- ^Embeddable Common Lisp
- ^Windows Scripting Host
- ^Embedded machine code
- ^Function Hooks
- ^COM Wrappers
- ^Console Interaction (LibCon)
- ^Dynamic Code Generation
- ^Human Interface Device(HID) Support
- ^Internet Explorer Automation
- ^SmartGUI Creator
- ^Sparrow AHK Web Server
- ^Bit Wizardry
- ^Windows Event Hooks
- ^Research, Cybereason Nocturnus. 'Fauxpersky: CredStealer malware written in AutoHotKey masquerades as Kaspersky Antivirus, spreading through infecting USB drives'. Retrieved 2018-03-29.
- ^'trojan in autohotkey installer?'. AutoHotkey Forums. gallaxhar.
- ^'False positive virus alert?'. AutoHotkey Forums. narny.
- ^'False positive on antivirus programs'. AutoHotkey Forums. Ferry.
- ^'Trojan.Antavmu detected in AutoHotKey'. AutoHotkey Forums. apao.
- ^'Avast, false positive exe files'. AutoHotkey Forums. Doron.
- ^'False Positive: Malwarebytes Anti-Malware PRO and Windows 8'. AutoHotkey Forums. PuzzledGreatly.
- ^'Antivirus scan for AutoHotkey112400_Install.exe'. VirusTotal.
External links[edit]
Retrieved from 'https://en.wikipedia.org/w/index.php?title=AutoHotkey&oldid=891460595'
AutoHotkey is a fantastic free and open source Microsoft Windows tool that allows you to create macros, scripts, and automate frequently performed tasks on your computer. For example, Computer Hope uses this tool daily to help answer common questions asked in e-mail quickly and perform other common repetitive tasks. Below are a few examples of what AutoHotkey is capable of doing.
AutoHotkey capabilities
- Create a script or macro that is executed using shortcut keys, hotkeys, joystick, and even mouseclicks.
- Create keywords (hotstring) that expand abbreviations or type out any frequently used response.
- Create custom data-entry forms, user interfaces, and menu bars.
- Create hotkeys for keyboard, joystick, and mouse. Virtually any key, button, or combination can become a hotkey.
- Convert any script into an EXE file that can be run on computers that don't have AutoHotkey installed.
Related pages
Automation, Programming terms, Script