DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools



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:
 +//​(Information and examples taken from the DroidScript documentation)//​
 +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>​
 +<code javascript>​
 +function OnStart()
 +  var text = app.GetClipboardText();​
 +  app.ShowPopup( text );
built_in/get_clipboard_text.txt ยท Last modified: 2015/11/02 09:32 by octazid