Spanky’s fav Autohotkey codes: part 1.
Posted In: Tech
Yeah, I’m a total dork for this, but I LOOOOVE Autohotkey. It’s a program that allows you to set up shortcuts for practically anything in Windows.
Download Autohotkey from http://www.autohotkey.com/
and learn how to write your first script. Here’s a good code to start:
#s::
Run http://www.soupytrumpet.com/
IfWinNotActive, Soupy Trumpet, , WinActivate, Soupy Trumpet
WinWaitActive, Soupy Trumpet
return
The above bit of code opens a browser to soupytrumpet.com when you hold the Windows key and push s. That’s pretty damned cool.
__________
Need to close multiple windows of Firefox in a hurry? Try
#+delete::
SetTitleMatchMode 2
GroupAdd, Firefox, Firefox
WinKill, ahk_group Firefox
return
Windows key, shift and delete will close all the open Firefox windows for you–ya know, just in case in you’re about to get busted…
-MC Spanks
PS. Do a search at http://www.lifehacker.com for some cool Autohotkey uses.
Sphere: Related Content17 Jan 2008 MC Spanky McGee 0 comments

