This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-12-06 14:59:43

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Scratch connections protocol help?

Can I get a list of commands that can be sent to Scratch with Python?


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#2 2011-12-06 15:22:35

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Scratch connections protocol help?

broadcast
sensor-update

I think this is what you want?


http://i.imgur.com/1QqnHxQ.png

Offline

 

#3 2011-12-06 15:28:53

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Scratch connections protocol help?

add-peer
broadcast
sensor-update
who


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#4 2011-12-07 15:35:14

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Scratch connections protocol help?

MathWizz wrote:

add-peer
broadcast
sensor-update
who

what does who and add-peer do?


http://i.imgur.com/1QqnHxQ.png

Offline

 

#5 2011-12-07 17:43:21

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Scratch connections protocol help?

TRocket wrote:

MathWizz wrote:

add-peer
broadcast
sensor-update
who

what does who and add-peer do?

Don't know.  tongue  I just took the list from the ScratchServer class.


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#6 2011-12-07 20:45:04

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Scratch connections protocol help?

I had a list of many commands that allowed you to control Scratch ( like send a "Green Flag Pressed" command ) and to change the actual variables and not just the sensor only ones, though I can't find it, but it's somewhere in the forums.

Offline

 

Board footer