Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
greubel
Visitor

Is this possible ?

You have a roParagraphScreen or one of the other canned Roku screens with buttons.
Is it possible to click or highlight (scroll) to one of the buttons without the user using the remote ?
I know it isn't documented but can you "POST" to the roMessage port ?

I guess I can use the ECP interface but I was looking for a more direct method.

Also is there a way to build a msg response object as if it came from wait() ?
0 Kudos
2 REPLIES 2
TheEndless
Channel Surfer

Re: Is this possible ?

I don't know of any way to create and post roXXXEvents, but I've accomplished something similar by implementing an event queue array and a custom GetMessage() method that first checks the event queue array, then the message port. You can create a BrightScript "object" that looks just like an event (with the exception of Type() checking), so you should be able to get there with minimal changes to your Wait loop.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
greubel
Visitor

Re: Is this possible ?

I do have a central msg wait and event queue routine for all my objects. And I have been able to manipulate the roImageScreens with a dummy return msg.
I just checked the Type(msg) In the return and if it wasn't a roImageScreenEvent, went down a different path.
I was mostly interested in simulating a button select or scroll on the screen. I guess the best visual method would be to post an ECP button push.
Thanks ... Endless
0 Kudos