Alfred extension: Convert clipboard to plain text

Update: Well, what do you I know? It turns out that Andrew, developer of Alfred, has already got this covered and my weak Google-Fu didn’t turn it up: plain text paste in Alfred. So don’t use my version, use his.


I got tired of copying formatted text from a web page, pasting into a text editor, copying again, then pasting into a formatted email to get the clean, default, styling. The Alfred App extension linked below allows you to launch Alfred, type “pt”, hit return and boom anything in your clipboard is plain text.

Download: Convert clipboard to plain text.alfredextension (zip file) (Don’t download, use the method on Andrew’s blog post.)

For those interested, this is was the (very simple) command inside the extension:

pbpaste | textutil -stdin -stdout -convert txt | pbcopy;
echo "Converted to plain text: ";

Taking stock

I have a client with a lot lot lot lot of WordPress sites, and I’m helping them craft a strategy for dealing with WordPress throughout their business. One thing we wanted to do was to take stock of all the plugins they have installed on all their sites, work out how many are in common, understand if any have security issues and so forth. Logging into hundreds of WordPress sites, even if we did have their login details, isn’t my idea of fun so I hacked some of the WordPress plugin functions to output a report on any plugins it finds in a directory. Continue reading Taking stock