OS X has useful PDF workflow functions such as "Mail PDF" and "Save as PDF...". I often need to attach a PDF export of a document to an existing draft mail message or other document. In these cases "Mail PDF" doesn't work as it creates a new blank mail message each time.
The way I do this currently is to save the document as a PDF and then attach the intermediate file. I would like to achieve the same without dealing with the intermediate file.
I would like a workflow that allows me to print the current document as PDF and copy it to the clipboard.
I tried to create a workflow using Automator and pbcopy, but pbcopy can't be told that the stream of bytes is of type PDF.