Hi, I'm reasonably new to scratch and I have a few queries about it.
1) Can I save data into a text file directly in scratch?
2) Is it possible to be able to enter values into the program while it is running and then it acts on them? For example, would I be able to have <go to x input )y
input ?
Thanks for your time.
Last edited by Helloher (2010-03-07 05:07:39)
Offline
You can change the value within blocks while th program is running, but you would have to restart the program for it to act on them.
Offline
I dont know, but I think Jens made a program that made projects into XML.
Offline
Helloher wrote:
Is there any way to save data to a text file?
You can save your entire project to a text file. It includes a list of revisions, a list of sprites, and their scripts.
Load Scratch, and load the project you would like to output as a text file.
Now, hold down the Ctrl and Shift keys (Ctrl-Shift). [This works in Windows; if you have a Mac you may know if there's some other keypress combination is needed.]
While they're being pressed, click on "File" on the menu.
You'll see a couple of entries that aren't normally visible: "Write Project Summary" and "Write Multiple Project Summaries".
Click on "Write Project Summary" and you'll get a window that suggests a filename (your project's name + summary.txt) and you can choose where you want to save it.
In Windows, the default place to save this text file is "My Documents" but you can easily move to any other folder.
The project summaries are very interesting, especially if you revised the project a number of times, changed its name during the process, and so forth. All that is recorded in the summary.
Hope this is what you were looking for.... :-)
Offline
Also, you can right-click a list and click "export" to save it's contents as a text file. That's the only way to do it - it can't be done while the project is running.
Offline
technoguyx wrote:
Also, you can right-click a list and click "export" to save it's contents as a text file. That's the only way to do it - it can't be done while the project is running.
Actually, if you hack Scratch....
Offline