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

#1 2011-09-29 19:22:36

SeanSL
New Scratcher
Registered: 2010-10-03
Posts: 9

data transfer (getting data into and out of scratch projects)

lists can hold data that I would like to extract as text and then process in OOo calc spreadsheets.  I opened a sprite containing lists with notepad++ and found the data contained in the lists and laboriously took out the delimiting characters so I could copy the text.  I am not an expert in notepad++ so there might be a way to easily extract the list data.

But how about a way to do this in scratch instead?  Can I use motors somehow to get at the data??

Or are there other tricks I don't know (which of course I suspect I know few tricks) that might untie my knot?

seansl

Offline

 

#2 2011-09-29 19:43:16

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: data transfer (getting data into and out of scratch projects)

SeanSL wrote:

lists can hold data that I would like to extract as text and then process in OOo calc spreadsheets.  I opened a sprite containing lists with notepad++ and found the data contained in the lists and laboriously took out the delimiting characters so I could copy the text.  I am not an expert in notepad++ so there might be a way to easily extract the list data.

But how about a way to do this in scratch instead?  Can I use motors somehow to get at the data??

Or are there other tricks I don't know (which of course I suspect I know few tricks) that might untie my knot?

seansl

Hmm, this is complicated... do you mean get data from a text file? Or do you mean send the info to another programming thing?


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#3 2011-09-29 22:24:16

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: data transfer (getting data into and out of scratch projects)

Pecola1 wrote:

SeanSL wrote:

lists can hold data that I would like to extract as text and then process in OOo calc spreadsheets.  I opened a sprite containing lists with notepad++ and found the data contained in the lists and laboriously took out the delimiting characters so I could copy the text.  I am not an expert in notepad++ so there might be a way to easily extract the list data.

But how about a way to do this in scratch instead?  Can I use motors somehow to get at the data??

Or are there other tricks I don't know (which of course I suspect I know few tricks) that might untie my knot?

seansl

Hmm, this is complicated... do you mean get data from a text file? Or do you mean send the info to another programming thing?

OpenOffice.org is an suite of software like Microsoft Office but it is free... it is not a programming language


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#4 2011-09-30 10:06:05

SeanSL
New Scratcher
Registered: 2010-10-03
Posts: 9

Re: data transfer (getting data into and out of scratch projects)

I mean both.  My immediate want is to get the data from my project to work with - do some curve fitting/modeling.  But I will want to return the processed data to a list later

in reply to:
Hmm, this is complicated... do you mean get data from a text file? Or do you mean send the info to another programming thing?

Offline

 

#5 2011-09-30 10:51:32

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: data transfer (getting data into and out of scratch projects)

you can do quite a lot of things in notepad++, give an example to me of what you're trying to do, and I'll try and help you with it.


http://i.imgur.com/zeIZW.png

Offline

 

#6 2011-09-30 11:13:34

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: data transfer (getting data into and out of scratch projects)

SeanSL,

I think you're looking for the 'export list' menu button. Just make sure the list is showing on stage, and right click it to select "export".

Correct me if that's not what you needed!  smile

Offline

 

#7 2011-09-30 14:34:45

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: data transfer (getting data into and out of scratch projects)

LS97 wrote:

SeanSL,

I think you're looking for the 'export list' menu button. Just make sure the list is showing on stage, and right click it to select "export".

Correct me if that's not what you needed!  smile

Maybe that is what he needed. I thought this was more 'Advanced'.

Sean, do you mean a way to transfer it manually, or to make a scratch project/block which would transfer it.  tongue  That's mainly what I was asking.


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#8 2011-09-30 21:20:50

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: data transfer (getting data into and out of scratch projects)

maybe u could make a block that writes the list to a file AND uses a program to automatically convert it to OpenOffice.org Calc...


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#9 2011-10-01 11:12:15

SeanSL
New Scratcher
Registered: 2010-10-03
Posts: 9

Re: data transfer (getting data into and out of scratch projects)

SOLVED: 1)Yes to the export & import list function.  That is the solution from LS97:

SeanSL,

I think you're looking for the 'export list' menu button. Just make sure the list is showing on stage, and right click it to select "export".

Correct me if that's not what you needed! 

AND
2) yes I was looking for a "trick" = looking for something I didn't know but felt probably was knowable/known. seansl
and thank you

Offline

 

#10 2011-10-01 17:35:59

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: data transfer (getting data into and out of scratch projects)

No problem Sean!

I agree that there should be some kind of big fat manual for Scratch. Maybe we'll get it with 2.0  smile

Anyways happy to help.

Offline

 

Board footer