Receiving Information from Scratch

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
andrewferguson
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 184
Joined: Wed Apr 10, 2013 5:09 pm

Receiving Information from Scratch

Post by andrewferguson » Tue Oct 08, 2013 3:58 pm

Hello,
I am trying to link LiveCode and Scratch (http://scratch.mit.edu/).
When Remote sensor connections are enabled in Scratch, it broadcasts out information on Port 42001.
What I am trying to do is get LiveCode to read these broadcasts. I have modified the Sample Project "Internet Chat.rev" to receive information on Port 42001, and it works when the information sent through the port is sent by LiveCode, but it doesn't work when I get Scratch to do it.
I can get Python to receive these broadcasts, but not LiveCode.
Any ideas?
Thanks,
Andrew

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Receiving Information from Scratch

Post by Simon » Tue Oct 08, 2013 4:43 pm

Hi Andrew,
At the moment the link you posted isn't working for me.
Also, could you provide a link specifically pointing to information on communicating with Scratch so that people don't have to dig through MIT to find the info?

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Post Reply