DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:get_clipboard_text

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

built_in:get_clipboard_text [2015/11/02 09:32] (current)
octazid created
Line 1: Line 1:
 +=====GetClipboardText=====
  
 +//​(Information and examples taken from the DroidScript documentation)//​
 +
 +====Description====
 +
 +The **GetClipboardText** method gets text data from the device clip board. This allows you to copy and paste text between different applications.
 +
 +<​code>​app.GetClipboardText( text );</​code>​
 +
 +----
 +
 +====Example====
 +
 +<code javascript>​
 +function OnStart()
 +{
 +  var text = app.GetClipboardText();​
 +  app.ShowPopup( text );
 +}
 +</​code>​
built_in/get_clipboard_text.txt ยท Last modified: 2015/11/02 09:32 by octazid