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

#1 2010-08-10 18:43:00

majormax
Scratcher
Registered: 2008-04-06
Posts: 1000+

Save Block, and a question.

How would you make a "save project" and maybe "save variable %v" "save list %L"  "save project as"
Save project would save the project in the current location
Save variable would save only a variable
Save list would save only a list
Save project as would save a project to a new directory.
I would like at least the first one if it is possible.
You can code it in CYOB or Squeak
I'll give you 5 TBG credits if you can do it in CYOB, and 5 c per extra (the 2nd 3rd and 4th)
And does CYOB work in presentaition mode?

Last edited by majormax (2010-08-10 18:44:12)

Offline

 

#2 2010-08-10 18:51:15

Billybob-Mario
Scratcher
Registered: 2008-01-05
Posts: 500+

Re: Save Block, and a question.

blockspecs:

Code:

('save project' #- #saveProj)

code:

Code:

saveProj
| t1 |
t1 _ self ownerThatIsA: ScratchFrameMorph.
t1 saveScratchProject

What are TBG credits?

Offline

 

#3 2010-08-10 21:15:42

majormax
Scratcher
Registered: 2008-04-06
Posts: 1000+

Re: Save Block, and a question.

http://scratch.mit.edu/tbgforums/viewforum.php?id=46
Shouldn't be too hard to find the Credits Center.

Offline

 

#4 2010-08-10 21:19:31

majormax
Scratcher
Registered: 2008-04-06
Posts: 1000+

Re: Save Block, and a question.

Oh, since I was able to get this to work in CYOB, and it serves the function of Save As, you get ten credits (just post a link to this on the credits center, and say you want to open a account.)

Offline

 

Board footer