AutoHotkey Hacks for Lazy Nerds Who Like Webcomics

I am beginning to seriously groove on AutoHotkey. It’s a free open-source program that lets you automate things on your computer. A pretty common application appears to be making up your own keyboard shortcuts and/or autoreplace rules.

I initially found it early in my vim kick–a kick which, for the record, is gamely stumbling on as I continue to insist to myself that one day I will learn enough to make vim so magically, brilliantly super-efficient that it will…well, make up for the dozens to hundreds of hours I will have spent learning stuff about vim, I guess.

Anyway, I was getting all excited about vim and learned that many power users remap their keyboards so that CapsLock becomes Esc and vice versa, because vim involves hitting Esc a lot and the CapsLock key is closer and easier, and so I charged ahead and found a little program (the aforementioned AHK) that would let me remap the keys in a fairly straightforward, untechnical way, and I did, and I thought little more of it except for putting in a mental pin to remind me to look more into AHK’s capabilities at some point.

That point was a couple days ago, and boy are my arms tired! Wait, different joke.

Anyway, I started reading up on AutoHotkey a little more and it’s amazing what it can do! It’s really a full-blown scripting…thing. (Application? Tool? Sorry, The Giver. No precision of language here.)

I once jokingly told a colleague that I wasn’t satisfied with the fact that I’d semi-automated a report to where I could run one query, paste the results into one spot in Excel, hit refresh, and send it out. I wanted a single button that would run the query, paste the results, and send the report for me. And then I wanted a machine that would push that button for me every day.

It appears that AutoHotkey is that button. And maybe also that machine. Time will tell.

For now one of my favorite uses I’ve put it to is creating keyboard shortcuts that pull up ‘dashboards’ of all the websites and/or files and/or folders I need to monitor or work on a particular project, task, or topic. It cuts out the friction that slows me down from getting to work (on, say, writing) because I’d have to open the story and the planning document and my music and my tracker and whatever. Or whatever.

I’m sure there will be more on this later, but just as an appetizer, install AutoHotkey and run a script containing the following code, then hit Ctrl-Shift-A. You’re welcome.

;Fun Dashboard Ctrl-Shift-A
navOpenInNewTab := 0x800
navOpenInBackgroundTab := 0x1000


ie := comobjcreate

ie.visible := true

Loop, Parse, sites, |
if A_Index = 1




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s