Use AutoHotkey to Strip Formatting From Pasted Text

Turn whatever gunked-up text you've copied to the Clipboard into paste-friendly plain text.

By  

by Rick Broida, PC World - 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.

[ Automate Common Tasks with AutoHotKey ]

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.

Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

Answers - Powered by ITworld

ITworld Answers helps you solve problems and share expertise. Ask a question or take a crack at answering the new questions below.

Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

Ask a Question
randomness