Use AutoHotkey to Strip the Formatting From Pasted Text

As a full-time writer, I do a lot of copying and pasting. Unfortunately, text copied from, say, the Web to a blog tool or Word to a Web form often comes with a lot of unwanted formatting. Drives me nuts.

AutoHotkey to the rescue! As you'll recall from my previous posts this week, AutoHotkey (or AHK) is a macro/scripting tool that can automate various tasks, remap keyboard keys, and a lot more.

One of my absolute favorite AHK scripts comes from Lifehacker's Adam Pash, whose aptly named Better Paste automatically strips the formatting from text copied to the Clipboard. When you go to paste it, you get fresh, clean, plain text.

Best of all, Better Paste is keyboard shortcut-friendly. It works with good old Ctrl-V, the shortcut for Paste. And on those rare occasions you want the original, formatted text, just tap Ctrl-Shift-V. Brilliant.

There are two ways to get Better Paste. First, you can visit the above link, create a new AHK script, and copy/paste Adam's code. Second, you can download it as an executable file, meaning it runs like any other program.

Subscribe to the Windows Tips & Trends Newsletter

Comments