Review: 2 free must-have keyboard shortcut apps for Windows
Don't want to take your hands off the keys? These two apps will help.
I've been a keyboard shortcut fan for a long time. Sure, icons and eye candy have their place -- I'd rather double-click an icon than, say, type run c:\Program Files\Microsoft Office\Office 12\Winword.exe. On the other hand, I'd sure rather click a file name and hit delete than drag an icon to my Recycle Bin (assuming I can even find it on my cluttered desktop).
That's why I'm always on the lookout for keyboard shortcuts to make my computing life easier. Two Windows apps that top my list are AutoHotkey and Nostalgy. They count among the applications that I rate as truly useful.
AutoHotkey
AutoHotkey is one of my favorites and has been for some time. So much so, I made sure it ran on Windows 7 before upgrading my home computer's operating system. Happily, AutoHotkey runs as smoothly on Microsoft's newest OS as it did on XP, allowing me to map shortcut keys just as I did before. (Unless your shortcuts were XP-specific, they'll work fine in Windows 7, too.)
Once it's installed, you can create a script by right-clicking anywhere within a folder, and you can then tweak the resulting text file in an editor of your choice.
What can you do with an AutoHotkey script? You can map a single task to a hot-key combination, such as running a program or opening a Web site. You can also create much more elaborate scripts, like adding an on-screen numeric keypad. And, unlike Windows PowerShell, the syntax is pretty easy to follow from looking at sample script; at least it was for me.
Want to have your Windows calculator pop up when you type ctrl-alt-c? This line of AutoHotkey code does the trick:
^!c::Run C:\Windows\system32\calc.exe
Want to do a Google search on whatever you've copied to your Windows clipboard? This script creates that functionality when holding down the Windows key and typing s:
#s::<br>
Run http://www.google.com/search?q=%clipboard%<br>
; You can have additional command lines here for a multi-line script<br>
return
There are a boatload more things you can do with AutoHotkey, including setting key combos to expand to longer text. For instance, btw followed by a space or comma could be set to type out "by the way." More-complex tasks include creating an on-screen volume display or making the backspace key in Windows 7 Explorer act the way it did in XP. It is a pretty complete scripting language, including support for variables, loops, regular expressions and file access, and it sports a bunch of user interface commands -- everything from sending mouse clicks to creating menus and manipulating windows.
The online documentation is robust, with an understandable get-started guide and an outline of various commands.
AutoHotkey isn't exactly like AppleScript on the Mac. As far as I can tell, AutoHotkey can't really script specific applications -- beyond using GUI menu commands -- the way AppleScript can send commands to properly enabled apps. And recording your own activity to save as a script isn't nearly as elegant or intuitive as AppleScript's built-in keystroke recorder.
However, it offers a reasonable amount of the scripting functionality I've come to enjoy on my MacBook at work. AutoHotkey even outshines AppleScript in several areas, such as determining the active window; how I wish AppleScript had a simple command for this! AutoHotkey is also ahead when it comes to using regular expressions; AppleScript requires an external addition for this and is still not as robust as most other scripting languages.
As with AppleScript, you can compile your AutoHotkey scripts into executable files. In fact, compiled AutoHotkey files can run on any Windows machine, even if AutoHotkey isn't installed, making this an attractive platform for sharing productivity snippets.
If you haven't yet taken AutoHotkey for a spin, it's definitely worth a download.