This is nothing really exciting, but I've been meaning to whip this up for a while now. Since I maintain a handful of different resumes, and I paste a plaintext version in with any given cover letter I email out (providing a link to the PDF), my typical workflow is opening the file in Vim and copying and pasting the contents into mail. Occasionally, I also just go to the command line, using cat to stuff the file right into pbcopy. But when I'm writing a cover letter in Mail, there's a good chance my brain is already in GUI mode and I'd be better off just lazily ambling to the Finder. So with that in mind, I have wrapped up the line
cat $1 | pbcopy
into an application package using DuckBill, to make a tiny little application which can be placed in the Finder toolbar, waiting for plaintext to be dropped on it and copied to the pasteboard. Right now there's just a generic icon in place, and it doesn't check to make sure $1 is null (that is, clicking it rather than dropping a file on it clears out the pasteboard entirely). But it will save me some energy, and maybe others as well. I'll continue to work on it (to address the above two issues, for example) but right now, it does what it does, and it can be downloaded here.
Update! Of course, that should have been
cat "$@" | pbcopy
…yikes! Well, I was tipsy when I threw it together last night. I'm tipsy again tonight, but I think I fixed that major oversight, at least. New version is up (still here).
brian hefele's untidy space