


Keyboard keys can also be remapped or disabled, such that pressing Ctrl+ M, for example, might result in the active window receiving an em dash - or nothing at all. These commands can be triggered by a hotkey, such as a script that would open an internet browser whenever the user presses Ctrl+ Alt+ I on the keyboard. AutoHotkey scripts can also assign, retrieve, and manipulate variables, run loops and manipulate windows, files, and folders. Features ĪutoHotkey scripts can be used to launch programs, open documents, and emulate keystrokes or mouse clicks and movements. The AutoHotkey installation includes its own extensive help file, and web-based documentation is also available. User interfaces can easily be extended or modified by AutoHotkey (for example, overriding the default Windows control key commands with their Emacs equivalents). #IfWinActive, ahk_exe Revu.Scripting language Automation GUI utilityĪutoHotkey is a free and 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. I've added description of several lines here, past the semicolons. This example is for number key 2 (not to be confused with numberpad 2, fyi). Can then copy/past this in and create duplicates for each key you want to hotkey. You can install AHK and a script editor, I have SciTE4AutoHotkey. No idea if this is the best way to write this, but it has worked for me. But this is assembled from hacking up other scripts I found, as well as assistance from other users.

I'm not an Autohotkey expert, although tweaking this has helped me learn a bit. The first 9 tools are easy to access on hotkeys, but after that it gets a bit clunky to type "19" fast enough that it registers as "19" and not "1" followed by "9". That limitation requires me to organize My Tools very carefully. Those tools are automatically assigned shortcut keys in increasing number, and can't be manually assigned. I made an Autohotkey script that allows me to cycle through the markup tools in the My Tools chest.
