User Tools

Site Tools


sample_code:droidscript_console

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
sample_code:droidscript_console [2016/08/28 20:38]
titus created
sample_code:droidscript_console [2016/10/14 21:49]
197.178.113.63
Line 2: Line 2:
  
 Execute your droidscript commands directly from this app. Execute your droidscript commands directly from this app.
 +\\
 +[[http://mycode.ucoz.net/files/spk/Console_v1.spk|Here]] is the spk.
  
-<code JavaScript>+<code JavaScript Console.js>
  
 //Called when application is started. //Called when application is started.
Line 30: Line 32:
 var p = edt.GetCursorPos();; var p = edt.GetCursorPos();;
 try{ try{
-edt.SetText(t+"\n"+run(t.slice(t.lastIndexOf(":")+1,t.length))+"\n"+"start here: " );+//run() or app.Execute() 
 +edt.SetText(t+"\n"+eval(t.slice(t.lastIndexOf(":")+1,t.length))+"\n"+"start here: " );
 edt.SetCursorPos(t.length ); edt.SetCursorPos(t.length );
 } }
Line 57: Line 60:
  
 </code> </code>
 +
 +[[:|Home]]>>[[sample_code:|Sample Code]]\\
sample_code/droidscript_console.txt · Last modified: 2016/10/31 05:41 (external edit)