Tech Terminal

Where Current Technology and the Web Flow Through

AutoHotkey for Newbies

July14

Auto Hotkey Logo

AutoHotkey (AHK) is a simple, open-source automation tool for Windows users. Ever needed to automate a backup that doesn’t have a built in scheduler and only supports visual actions, remap keys and buttons on a keyboard or mouse, a text expander (btw => "by the way"), or put together simple key combination shortcuts? AHK can help you accomplish all of those tasks.

AutoHotkey scripts are extremely easy to understand and master. There are several simple tutorials for AHK including some on one of my favorite sites, Lifehacker. If you run into any problems, AutoHotkey has wonderful functionality documentation on their website and in their “in-program” help library.

An example of a simple script that I use to remap the Capslock key to be the CTRL+S (save) combination is:

Capslock::^s
+Capslock::Capslock

The key combination SHIFT+Capslock actually toggles the real Capslock function. Yes, I am weird, but this really helps my pinky+index finger combo. Want to pull up the Windows Calculator quickly? Add this to your AHK script:

#c::Run %A_WinDir%\system32\calc.exe

This will launch the Calculator with the combination WINKEY+c . In shortcut terms, ^ is CTRL, + is SHIFT, ! is ALT, and # is WINKEY. AHK has variables such as %A_WinDir% allowing the same script to be compatible on multiple computers.

An awesome feature of AHK is that you can install AHK on one computer, create a script, convert it into its own executable program, and place it on a flash drive that can be used anywhere.

BUT Kaleb, I don’t like touching code? No problem! AHK has a helpful
"Key/Mouse-stroke recorder" that is included with the installation
called, "AutoScriptWriter (recorder)."

I have many more script tidbits and helpful hints on automation coming. Download AutoHotkey today! Try it out. Tell me what you think? What automation software do you use?

Check out these sites for more quality info about AHK:

Thanks Kent; I have been delaying this post for a while.

Like it? Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon
  • Ma.gnolia
3 Comments to

“AutoHotkey for Newbies”

  1. On December 31st, 2007 at 12:31 pm Kent Says:

    Looks very cool. I still work with a Boot Camp install of Windows, and will definitely give this a try.

  2. On December 31st, 2007 at 2:32 pm list of philosophies Says:

    Hmm, this looks very handy dandy.
    I think I’ll try it on my Windows box.
    Thanks.

  3. On January 1st, 2008 at 6:59 pm greentheo Says:

    Dude! I love this program! I used to use it all the time for programming. I got tired of writing the same commands over and over so I automated it. Nice review.

Email will not be published

Website example

Your Comment: