View Single Post
Old 03-24-2010, 10:14 AM   #772
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
frediz
1) exec will execute whatever command line you pass to it, don't bother with "what prspVM.xml does" if Utils already has "exec" method. Start with something simpler, like:

Utils.exec("echo \"hello world\">>/Data/log.txt");

this should create log.txt file in the root of internal memory.

2) Hotkeys. Easiest way is to use Clock.js. Replace "Toggle Clock" action funciton with whatever you want, and bind the action to whatever key you want via PRS+ settings.
kartu is offline   Reply With Quote