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

#1 2008-10-19 05:10:20

Dibbo222
Scratcher
Registered: 2007-11-03
Posts: 100+

HELP: Importing Lists

Hello, I've been looking around and can't seem to find how to import your own lists into Scratch. For example, I wanted to make a big (i mean BIG) list but it would take too long to do it manually through Scratch. (in this circumstance I was trying to get around 100 pieces of information as different items in a list) So, I've got all this information in a Notepad document with each item on a different line - how do I now get that into a list on scratch?

thanks :)


The biggest tower defense game on Scratch?
http://scratch.mit.edu/projects/Dibbo222/929092

Offline

 

#2 2008-10-19 05:31:20

registeel
Scratcher
Registered: 2008-04-27
Posts: 500+

Re: HELP: Importing Lists

maybe it's something like item one "?" item two "?"

Offline

 

#3 2008-10-19 06:13:19

Dibbo222
Scratcher
Registered: 2007-11-03
Posts: 100+

Re: HELP: Importing Lists

yessssssss - i figured it out....

i was a silly billy and when i cliked import - i still had the notepad document open so it wouldn't appear as a file on the desktop coz you can't modify something if it's open....


The biggest tower defense game on Scratch?
http://scratch.mit.edu/projects/Dibbo222/929092

Offline

 

#4 2008-10-19 11:36:54

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: HELP: Importing Lists

Dibbo222 wrote:

yessssssss - i figured it out....

i was a silly billy and when i cliked import - i still had the notepad document open so it wouldn't appear as a file on the desktop coz you can't modify something if it's open....

Wait, so you mean that you were able to import your lists using a txt file? How did you do this?


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#5 2008-10-19 11:57:57

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: HELP: Importing Lists

Archmage-
Right click a listwatcher and select "import". Scratch will let you import a .txt file into Scratch, and turn every line of the file into a new list item.


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#6 2008-10-19 11:59:25

SeanCanoodle
Scratcher
Registered: 2008-06-20
Posts: 100+

Re: HELP: Importing Lists

You just right click on a list and select "import" and it will let you open a .txt file with all of the list contents. Each line can have a text string or value on it and it will go to the corresponding placement on the list. You can also choose to "export" the list into a .txt.

Edit: Fullmoon posted a few seconds before me with the same answer.

Last edited by SeanCanoodle (2008-10-19 12:00:07)

Offline

 

Board footer