Post 1 made on Thursday May 9, 2024 at 14:50 |
mpg7321 Regular Member |
Joined: Posts: | June 2020 145 |
|
|
I am working on a simple screen saver for my 9600 and 9800's, I am using the following script'
System.setGlobal("Screen_Saver", '5'); function Func () { var ScreenSaver = System.getGlobal("Screen_Saver"); if (ScreenSaver > 0) { ScreenSaver--; System.setGlobal("Screen_Saver", ScreenSaver); }else{ CF.widget("Clock_Jump", "IR", "XBOX").executeActions(); }; scheduleAfter(90000, Func); } scheduleAfter(5000, Func);
Each button on the page is using this,
CF.widget("XBOX_Pause", "IR", "XBOX").executeActions() System.setGlobal("Screen_Saver", '5') to send the IR command as well as to reset the count back to 5.
It works very well, my question is there a better way, such as a script that would monitor input from both firm keys as well from input from the touch screen? Thanks,
|
|
|