1 Reply Latest reply on Dec 5, 2012 10:48 AM by roymeo_

    Clipboard VS Highlighted Text

    steeletech Level 1

      I can detect Clipboard Data (when I copy text to the clipboard), and display that text.

      Here's how I do it:





          var text = air.Clipboard.generalClipboard.getData(air.ClipboardFormats.TEXT_FORMAT);


          var text = "nothing in clipboard";





      And it absolutely works fine.  As soon as I Copy something to the clipboard I get that Text data.


      I'd like to get the Text Data of when I highlight Text with my mouse, before deciding to copy it or not. 

      Is there a way to do that?