title: How to paste text from one app to another using Cocoa?
body: <p>I have read about <code>NSPasteBoard</code> in the Apple documentation, and how it allows for applications to write into the <code>PasteBoard</code> and allow other applications to read  that text and use it.</p>
  
  <p>Could someone tell me how to paste text from am application (that sits in the status bar) into a <code>NSTextField</code> that is inside a different application.</p>
  
  <p>What I am trying to do is something similar what <a href="http://fuelcollective.com/snippet" rel="noreferrer">Snippet</a> and <a href="http://www.snippetsapp.com" rel="noreferrer">SnippetsApp</a> do. </p>
  
  <p>If I am completely stupid and missed the obvious in Apple Docs, could you please point me to the right path :)</p>
  
  <p>Thanks!</p>