Roku HD2000 Network Router User Manual


 
49
Add print statements showing names of files read from the flash card
Add print statements showing the coordinates of a mouse click
To begin testing your custom script:
1. Copy your content and script file to the compact flash card.
2. Name your script run.bas. You can call it anything, as long as it’s not autorun.bas,
so it doesn’t start automatically.
3. Add a debug statement to the top of your script, like the autorun.bas. Now, we’ll see
output from the print statements you added to your script.
debug = true
4. Insert your CF card and Add power to the Brightsign.
5. At the Roku prompt, type the following:
script run.bas
Mult-run Script Limitations
Currently when a script terminates, it does not free resources allocated by Roku Objects.
This means that if you use the “script” shell command to run a script, and the script exits,
you may not be able to run it again successfully. You will need to reboot your
BrightSign between script tests.