Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In AIR, any interaction with the system’s clipboard is handled by the Clipboard class. To get a reference to the clipboard of the user’s OS, you use the static generalClipboard property of the Clipboard class. Reading from the clipboard is done via the getData() method, as shown in this simple example.
var clip:Clipboard = Clipboard.generalClipboard; var txt:String = clip.getData(ClipboardFormats.TEXT_FORMAT).toString();