Upon execution, this AppleScript will create a new task entry into your TaskPaper front document with the content of the clipboard as task text followed by reference of the source document.

Example: a paste from Outlook will look like:

- This text is copied from an outlook message paste from email RE: test email title,
   sent by John Doe, jeudi 28 novembre 2013 17:46:08 @due(week)

It works fine for Microsoft Outlook, Word, Apple Preview and has a default minimal behavior for all other applications.

Bug: You have to type Cmd-C by yourself before calling this script. Issuing the key combo through applescript was not reliable.