Plain-textification

Mac Geekery has a cool
post
on how to modify an application to support a pasteAsPlainText
action. If you don’t mind an extra step when copying, you can add a shell script to your
Script Menu
. Create a file in ~/Library/Scripts named
Plain Textify (or whatever you want to call it), make it
executable, and put the following in it:

#!/bin/sh
pbpaste | pbcopy

After you’ve copied something, select Plain Textify from the Scripts
menu, and then paste it as usual. pbpaste pastes the contents of the
clipboard (as plain text) to standard output, and pbcopy copies from
standard input.

Leave a Reply