Tuesday, December 30, 2008

Something to help make Windows suck less

Here's a program that helps Windows suck less: AutoHotKey, which is basically a scripting language/interpreter for intercepting keystrokes and acting on them.

It allowed me to write the following, which is the "Clipboard Swap" command I thought would be occasionally useful. (Clipboard Swap: It copies highlighted text to the clipboard while replacing it with the current clipboard contents. It's activated by Windows-v).

tempClip := clipboard
Send, ^c
ClipWait,0.5, 1
tempClip2 := clipboard
clipboard := tempClip
Send, ^v
clipboard := tempClip2

Just copy the script, paste it into, eg, ClipboardSwap.ahk , and then run that file with AutoHotKey (you may want to include it in your Startup folder so it's loaded every time).

Inasmuch as the above code is copyrightable, I hereby relinquish it to the public domain.

Post a Comment

Age 34: 3 Month Check-in #2

Objective The purpose of this retrospective is to evaluate the progress I've made on my goals (1-, 5- and 10-year) and to see whether...