title: get selected text in an other application
body: <p>I want to have a python script, which will "idle" until some text is selected in an other desktop app, and then store it in a var. Eg:</p>
  
  <ul>
  <li>User goes into Safari</li>
  <li>User selects a block of text</li>
  <li>In the background, the python script will store that block of text in a var</li>
  <li>Now that the python script has it's var, it can stop "idling" / "pausing" and continue</li>
  </ul>
  
  <p>Think a clipboard, where you don't need to hit "Cmd+C"; all you do is select the text</p>
  
  <p>Cheers!
  This is for Mac OSX by the way</p>