AutoHotkey

by Aug 23, 2010Tech3 comments

One of my favorite little programs is AutoHotkey. You can write nearly any macro script you can think of to perform nearly any task you do often.

I’ll give one example. I found that I was regularly having to find my tagged link for Amazon books, copy it, and paste it into a blog post or e-mail.

So I wrote a little script that would just print it out for me, and I assigned it to Alt+F10:

http://www.amazon.com/dp/ISBNHERE/?tag=marklwardjr-20

When I needed the link, I would go to Amazon, grab the ISBN for the book I was linking to, and manually put it where the link says “ISBNHERE.”

Then I realized that I might as well grab the ISBN first, then have AutoHotkey paste it in for me:

http://www.amazon.com/dp/^v/?tag=marklwardjr-20

Notice that instead of “ISBNHERE” I have “^v”—that stands for Ctrl+V, which pastes whatever’s in the clipboard into my link. So now I get this when I hit Alt+F10:

http://www.amazon.com/dp/0876633963/?tag=marklwardjr-20

Here’s the AutoHotkey script:

!F10::Send http://www.amazon.com/dp/^v/?tag=marklwardjr-20

I have scripts for creating em dashes and other common symbols, switching Unicode keyboards, and lots of other common tasks.

Read More 

Review: The Innovators

Review: The Innovators

The Innovators: How a Group of Hackers, Geniuses and Geeks Created the Digital Revolution by Walter IsaacsonMy rating: 5 of 5 starsSomehow some writers of biography end up sounding trite, both in their relating of their subjects' stories and in the lessons they draw...

Ode to My iPad Pro

Ode to My iPad Pro

The subtitle for this blog used to be “Bible, Tech, Bible Tech.” I haven’t blogged about tech much in a long time. But I still love it. And it’s time for a break from heavy stuff. One particular piece of tech I love is my new-to-me 12.9-inch iPad Pro. I got it a few...

A Handy Guide to Catching Spam Comments

Look out for these things in your comment spam (some apply to email spam, too), and you're less likely to be fooled by it (click image to see full-size): I don't really mean that Australia is weird, though I may find out this summer that it is as I take my first trip...

How to Listen to Lots of Lectures and Sermons and YouTube Videos

How to Listen to Lots of Lectures and Sermons and YouTube Videos

Updated July 28, 2020 I see many interesting lectures and interviews on YouTube that I know I will never, ever have time for. I simply cannot sit in front of a computer and watch a video. Email beckons too hard. But I can listen to these videos on the bus, while doing...

Leave a comment.

3 Comments
  1. James

    And (as a good friend told me once before) Spark is a great program for the same functions on a Mac – assign shortcut keys to text strings, AppleScripts, application shortcuts, etc.

  2. Mark L Ward Jr

    Right! I like Spark, too! It has a much nicer user interface, like almost all Mac OSX programs.

  3. Jeremiah

    On OSX,
    option – = – (en dash)
    option shift – = — (em dash)
    option ; = … (ellipsis)

    That’s with a standard keyboard layout, of course.