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

#1 2012-04-01 12:09:23

LiquidMetal
Scratcher
Registered: 2011-06-15
Posts: 500+

Export scripts to [scratchblocks] format from scratch?

I was wondering if someone could edit the squeak code to export any script to a .txt file in the [scratchblocks] format, for copying and pasting to the forums.

Thanks!

Offline

 

#2 2012-04-01 12:15:24

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

Re: Export scripts to [scratchblocks] format from scratch?

i've made one in java it does most blocks


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

Offline

 

#3 2012-04-01 12:17:45

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Export scripts to [scratchblocks] format from scratch?

check kurt, python extension  smile

Offline

 

#4 2012-04-01 12:20:59

LiquidMetal
Scratcher
Registered: 2011-06-15
Posts: 500+

Re: Export scripts to [scratchblocks] format from scratch?

TRocket wrote:

i've made one in java it does most blocks

roijac wrote:

check kurt, python extension  smile

Where can I find these? What is kurt?

Thanks!

Offline

 

#5 2012-04-01 12:23:44

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

Re: Export scripts to [scratchblocks] format from scratch?

LiquidMetal wrote:

TRocket wrote:

i've made one in java it does most blocks

roijac wrote:

check kurt, python extension  smile

Where can I find these? What is kurt?

Thanks!

hte code so far is here


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

Offline

 

#6 2012-04-01 12:53:03

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Export scripts to [scratchblocks] format from scratch?

LiquidMetal wrote:

TRocket wrote:

i've made one in java it does most blocks

roijac wrote:

check kurt, python extension  smile

Where can I find these? What is kurt?

Thanks!

https://github.com/blob8108/kurt

Offline

 

#7 2012-04-01 15:17:07

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Export scripts to [scratchblocks] format from scratch?

LiquidMetal wrote:

I was wondering if someone could edit the squeak code to export any script to a .txt file in the [scratchblocks] format, for copying and pasting to the forums.

Thanks!

As roijac pointed out, you should try kurt. I literally just finished this; I've tested it with all the Scratch blocks, and it works fine, as far as I'm aware.  smile  You'll need python, and the construct library; and you'll find the script at util/block_plugin.py. Let me know if it works!  smile


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

Board footer