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:set_clipboard_text [2015/03/04 17:49] (current)
octazid created
Line 1: Line 1:
 +//​(Information and examples taken from the DroidScript documentation)//​
 +The **SetClipboardText** method puts text data on the device clip board. This allows you to copy and paste text between different applications.
 +<​code>​ app.SetClipboardText( text );</​code>​
 +<code javascript>​
 +function OnStart()
 +  app.SetClipboardText( "​Sample Text" );
built_in/set_clipboard_text.txt ยท Last modified: 2015/03/04 17:49 by octazid