Posted By

dbug13 on 06/10/07


Tagged

textmate applescript osx


Versions (?)

Make new textmate document from clipboard


 / Published in: Other
 

  1. do shell script "pbpaste | mate -a"

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: brandon on December 31, 2007

This didn't work for me. I had the snippet in my clipboard when I ran the snippet, and I got this error:


    TextMate got an error: sh: mate: command not found
    2007-12-31 10:33:08.147 pbpaste[16441:10b] *** Terminating app due to uncaught exception 'NSFileHandleOperationException', reason: '*** -[NSConcreteFileHandle writeData:]: Broken pipe'
    2007-12-31 10:33:08.149 pbpaste[16441:10b] Stack: (
        2501456491,
        2445496475,
        2501455947,
        2501456010,
        2418569523,
        2418061819,
        11345,
        10038
    )
Posted By: brandon on December 31, 2007

P.S. 'mate' is installed and works for other purposes.

You need to login to post a comment.