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

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
sample_code:droidscript_console [2016/09/02 19:26]
titus
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 Console.js> <code JavaScript Console.js>
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 );
 } }
sample_code/droidscript_console.txt · Last modified: 2016/10/31 05:41 (external edit)