This shows you the differences between two versions of the page.
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:// | ||
<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+" | + | //run() or app.Execute() |
+ | edt.SetText(t+" | ||
edt.SetCursorPos(t.length ); | edt.SetCursorPos(t.length ); | ||
} | } |