Forum Discussion
RokuChris
15 years agoRoku Employee
I haven't played with this much at all yet, but you would do something along these lines...
And send it an event from outside like this...
port = CreateObject("roMessagePort")
input = CreateObject("roInput")
input.SetMessagePort(port)
while true
msg = Wait(0, port)
params = msg.GetInfo()
' do something useful with the data here
end while
And send it an event from outside like this...
curl -d "" "http://[roku_ip]:8060/input?text=hello"