Tag

paste

Tips & Tricks
May 8, 2011

Pasting Text Without Formatting In Google Chrome

As part of my regular use of Gmail, I often find myself pasting text from web into my e-mails. Since the Gmail editor supports rich-text, pasting generally includes the formating, which, most of the time, simply does not make sense within the e-mail. For years, I have been using a trick to get around this - one which involved using the almighty Windows Notepad. By simply pasting the text into Notepad, and then copying it from there, I make sure the formating is not brought over. This works because Notepad itself does not support formating. As useful as this trick is, I often found myself wondering whether there were better options available. A few days ago, as I was writing an e-mail to a prospective client, I…
Tips & Tricks
January 23, 2010

Copying the Contents of Windows Dialogs

As a developer, I very often see error messages - some of those originate from the products I develop, and I have to report them as bugs. Whenever I get an error message in a dialog, I typically take a screenshot, and add that to the bug base issue. That's fine, but it means people can't search for that error message in the bug base - in order to enable that, I'd usually just manually type out the error message, rather than take a screenshot. That was before. Today, I'd just press CTRL+C to copy the error dialog contents. That's right, whenever you see a dialog in Windows, like this: You can press CTRL+C to copy, and then open up Notepad, and press CTRL+V to…
Tips & Tricks
August 14, 2009

Converting Formatted Text from the Clipboard to Plain Text

Usually when I copy text from web pages, I really don't want the formatting from the webpage to be kept. I  just want to have the text in the simplest format possible, and then I can set my own styles. Unfortunately, this isn't normally how it works. Typically, when copying from a web page in a browser, it may also copy any tables, images, and styles that are applied to or mixed with the text. This does depend on where you are pasting the text, though. In my case, I use Microsoft Word most of the time. Word supports a lot of web page elements, meaning they will likely appear in the Word document. Consider the following text: This is some example text. You'll notice that…