Obtendo dados RTF da área de transferência do Mac OS X (área de transferência)

De acordo comman página parapbpaste,

   -Prefer {txt | rtf | ps}
          tells pbpaste what type of data to look for  in  the  pasteboard
          first.   As stated above, pbpaste normally looks first for plain
          text data; however,  by  specifying  -Prefer  ps  you  can  tell
          pbpaste to look first for Encapsulated PostScript.  If you spec-
          ify -Prefer rtf, pbpaste looks first for Rich Text  format.   In
          any  case,  pbpaste looks for the other formats if the preferred
          one is not found.  The txt option replaces the deprecated  ascii
          option,  which continues to function as before.  Both indicate a
          preference for plain text.

No entanto (na minha experiência com 10.6 Snow Leopard pelo menos),pbpaste -Prefer rtf nunca, nunca desiste dos dados RTF, mesmo quando existem na área de transferência. Existe alguma outra maneira simples de obter o texto RTF do que estiver pronto para ser colado?

Eu tentei o AppleScript, masosascript -e 'the clipboard as «class RTF »' dá a resposta«data RTF 7Btonelada de porcaria codificada em hex7D». AppleScript pode converter esses dados hexadecimais em texto com o qual eu possa brincar?

questionAnswers(4)

yourAnswerToTheQuestion