You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Clipboard Library > getText

5.2 getText

clipboard.getText()

This routine returns the contents of the Clipboard as a string of plain text. If the Clipboard does not contain any text (MIME type "text/plain"), this routine returns nil.

Introduced in platform.apiLevel = '1.0'