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

#1 2010-06-17 11:30:57

wiimaster
Scratcher
Registered: 2008-09-17
Posts: 1000+

File

They should have an enitire new section of blocks in scratch called 'File'

Some blocks it would contain, are:

[Create File called [         ]]

[Delete File called [         ]]

[Overwrite File called [         ] as [        ]]

[Save File called [         ]]

[Copy File called [        ] onto [        ]]

[Open File called [           ]]

<File called [         ] contains [         ]]

[Rename File called [        ] as [        ]]


Do you guys like it?


http://i584.photobucket.com/albums/ss286/wiimaster1/Wiimaster_zps107dca4c.gif

Offline

 

#2 2010-06-17 11:38:36

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: File

wiimaster wrote:

They should have an enitire new section of blocks in scratch called 'File'

Some blocks it would contain, are:

[Create File called [         ]]

[Delete File called [         ]]

[Overwrite File called [         ] as [        ]]

[Save File called [         ]]

[Copy File called [        ] onto [        ]]

[Open File called [           ]]

<File called [         ] contains [         ]]

[Rename File called [        ] as [        ]]


Do you guys like it?

I definitely like it but it's probably too advanced for the younger kids that Scratch was made for.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#3 2010-06-17 13:49:23

climber59
Scratcher
Registered: 2009-12-15
Posts: 100+

Re: File

I don't think delete, overwrite, and rename should be there (if you can do any files) because someone could delete/tamper with system files, scratch projects, or scratch itself.


Check out my projects if you have a chance.

Offline

 

#4 2010-06-17 14:08:30

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: File

climber59 wrote:

I don't think delete, overwrite, and rename should be there (if you can do any files) because someone could delete/tamper with system files, scratch projects, or scratch itself.

Yes.

That's why the Scratch Team won't allow it.

Sorry. You can save in a list and save the project, though!

Or maybe you can make it closed so that you can only make/modify files in the Scratch Folder.


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#5 2010-06-17 15:08:11

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: File

Oh the beautiful things that came into my head when I saw this.... ^^

http://i709.photobucket.com/albums/ww97/MyRedNeptune/kaspersky-virus.jpg?t=1276801678


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

#6 2010-06-17 15:13:00

Survivorduck
Scratcher
Registered: 2009-07-05
Posts: 500+

Re: File

explaining would be very complicated, actually...  tongue

@MRN: There's gray stuff surrounding the text in that picture  tongue

Last edited by Survivorduck (2010-06-17 15:13:51)

Offline

 

#7 2010-06-17 15:16:37

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: File

Survivorduck wrote:

@MRN: There's gray stuff surrounding the text in that picture  tongue

Those are jpeg artifacts.  smile


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

#8 2010-06-17 15:49:06

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: File

Like other[s] said above, I definitely don't support the idea of delete, overwrite, and rename... You could totally mess up somebody's computer with those. And there is always the potential of somebody then creating a virus in Scratch even without those blocks. Overall, I`d support if a few of the kinks could be sorted out.

Offline

 

#9 2010-06-17 16:38:32

wiimaster
Scratcher
Registered: 2008-09-17
Posts: 1000+

Re: File

I do not mean like saving to someones computer files. I meant only within that 1 project. It would not overwrite or create a new file on your computer. Just small one in game projects.

I'm not so good at explaining, sorry.


http://i584.photobucket.com/albums/ss286/wiimaster1/Wiimaster_zps107dca4c.gif

Offline

 

#10 2010-06-17 16:40:37

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: File

wiimaster wrote:

I do not mean like saving to someones computer files. I meant only within that 1 project. It would not overwrite or create a new file on your computer. Just small one in game projects.

I'm not so good at explaining, sorry.

So, like extended variables?

That makes sense... Sort of. Except I don't see how that would particularly differentiate from variables, or what the use of it would be.

Offline

 

#11 2010-06-17 17:08:01

wiimaster
Scratcher
Registered: 2008-09-17
Posts: 1000+

Re: File

coolstuff wrote:

wiimaster wrote:

I do not mean like saving to someones computer files. I meant only within that 1 project. It would not overwrite or create a new file on your computer. Just small one in game projects.

I'm not so good at explaining, sorry.

So, like extended variables?

That makes sense... Sort of. Except I don't see how that would particularly differentiate from variables, or what the use of it would be.

I don't understand how you could use variables to remember a frame or chunk of an entire project. Could you explain how I could do that?


http://i584.photobucket.com/albums/ss286/wiimaster1/Wiimaster_zps107dca4c.gif

Offline

 

#12 2010-06-17 17:15:46

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: File

wiimaster wrote:

coolstuff wrote:

wiimaster wrote:

I do not mean like saving to someones computer files. I meant only within that 1 project. It would not overwrite or create a new file on your computer. Just small one in game projects.

I'm not so good at explaining, sorry.

So, like extended variables?

That makes sense... Sort of. Except I don't see how that would particularly differentiate from variables, or what the use of it would be.

I don't understand how you could use variables to remember a frame or chunk of an entire project. Could you explain how I could do that?

"To remember a frame" -- I'm not entirely sure what you mean by that. Or a "chunk of an entire project." Files are just text, and the computer does with that text what it will.

Offline

 

#13 2010-06-17 17:18:30

wiimaster
Scratcher
Registered: 2008-09-17
Posts: 1000+

Re: File

coolstuff wrote:

wiimaster wrote:

coolstuff wrote:


So, like extended variables?

That makes sense... Sort of. Except I don't see how that would particularly differentiate from variables, or what the use of it would be.

I don't understand how you could use variables to remember a frame or chunk of an entire project. Could you explain how I could do that?

"To remember a frame" -- I'm not entirely sure what you mean by that. Or a "chunk of an entire project." Files are just text, and the computer does with that text what it will.

Meaning like, if you do something in a game, and you press save, it will remember all you have just done within the project. Then, it saves it as a file that can be re-opened, overwrited or deleted


http://i584.photobucket.com/albums/ss286/wiimaster1/Wiimaster_zps107dca4c.gif

Offline

 

#14 2010-06-17 17:20:19

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: File

wiimaster wrote:

coolstuff wrote:

wiimaster wrote:


I don't understand how you could use variables to remember a frame or chunk of an entire project. Could you explain how I could do that?

"To remember a frame" -- I'm not entirely sure what you mean by that. Or a "chunk of an entire project." Files are just text, and the computer does with that text what it will.

Meaning like, if you do something in a game, and you press save, it will remember all you have just done within the project. Then, it saves it as a file that can be re-opened, overwrited or deleted

But, if it's in one project like you said, then it would be saved to your computer, no? Although I understand what you're saying - sort of like cookies?

Offline

 

#15 2010-06-17 17:20:41

wiimaster
Scratcher
Registered: 2008-09-17
Posts: 1000+

Re: File

coolstuff wrote:

wiimaster wrote:

coolstuff wrote:

"To remember a frame" -- I'm not entirely sure what you mean by that. Or a "chunk of an entire project." Files are just text, and the computer does with that text what it will.

Meaning like, if you do something in a game, and you press save, it will remember all you have just done within the project. Then, it saves it as a file that can be re-opened, overwrited or deleted

But, if it's in one project like you said, then it would be saved to your computer, no? Although I understand what you're saying - sort of like cookies?

Cookies? A bit I guess.

Last edited by wiimaster (2010-06-17 17:21:02)


http://i584.photobucket.com/albums/ss286/wiimaster1/Wiimaster_zps107dca4c.gif

Offline

 

#16 2010-06-28 23:41:49

jackrulez
Scratcher
Registered: 2009-08-01
Posts: 1000+

Re: File

Panther, people.


Yawn, another boring text signature. I should really make something better.

Offline

 

#17 2010-06-28 23:47:13

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

Re: File

wiimaster wrote:

coolstuff wrote:

wiimaster wrote:


Meaning like, if you do something in a game, and you press save, it will remember all you have just done within the project. Then, it saves it as a file that can be re-opened, overwrited or deleted

But, if it's in one project like you said, then it would be saved to your computer, no? Although I understand what you're saying - sort of like cookies?

Cookies? A bit I guess.

Saving data as cookies would be nice. That is how flash games do it.


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

 

#18 2010-06-29 12:09:58

MaxtheWeirdo
Scratcher
Registered: 2010-03-18
Posts: 500+

Re: File

coolstuff wrote:

Like other[s] said above, I definitely don't support the idea of delete, overwrite, and rename... You could totally mess up somebody's computer with those. And there is always the potential of somebody then creating a virus in Scratch even without those blocks. Overall, I`d support if a few of the kinks could be sorted out.

You can make a virus in Scratch?

And yeah, I support.


My website. Hall Crawler My Awesome OS
It's just marketing, guys! Nothing sinister!

Offline

 

#19 2010-06-29 12:17:12

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: File

MaxtheWeirdo wrote:

coolstuff wrote:

Like other[s] said above, I definitely don't support the idea of delete, overwrite, and rename... You could totally mess up somebody's computer with those. And there is always the potential of somebody then creating a virus in Scratch even without those blocks. Overall, I`d support if a few of the kinks could be sorted out.

You can make a virus in Scratch?

And yeah, I support.

You can't make a virus in Scratch with the current version. But by modifying the files on your computer, you totally could.

Offline

 

#20 2010-06-30 00:10:30

Silverspines
Scratcher
Registered: 2009-10-31
Posts: 85

Re: File

coolstuff wrote:

MaxtheWeirdo wrote:

coolstuff wrote:

Like other[s] said above, I definitely don't support the idea of delete, overwrite, and rename... You could totally mess up somebody's computer with those. And there is always the potential of somebody then creating a virus in Scratch even without those blocks. Overall, I`d support if a few of the kinks could be sorted out.

You can make a virus in Scratch?

And yeah, I support.

You can't make a virus in Scratch with the current version. But by modifying the files on your computer, you totally could.

Maybe there could be a "Files made by scratch" folder or something like that within the Scratch folder and files could only be created, deleted and renamed there within special folders for each project? For instance, say that I had a project called "Cat Frenzy" that used files. All the files for that project would go inside the "Cat Frenzy" folder witch would in turn be inside a folder which had all the folders for scratch projects. This would prevent projects from messing with your files or files from other scratch projects. Perhaps a little window could also pop up whenever it calls one of those blocks so that it wouldn't fill up your computer's memory without you giving your permission.


Color Pong! Simple but fun.

Offline

 

#21 2010-06-30 00:25:54

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: File

Silverspines wrote:

coolstuff wrote:

MaxtheWeirdo wrote:


You can make a virus in Scratch?

And yeah, I support.

You can't make a virus in Scratch with the current version. But by modifying the files on your computer, you totally could.

Maybe there could be a "Files made by scratch" folder or something like that within the Scratch folder and files could only be created, deleted and renamed there within special folders for each project? For instance, say that I had a project called "Cat Frenzy" that used files. All the files for that project would go inside the "Cat Frenzy" folder witch would in turn be inside a folder which had all the folders for scratch projects. This would prevent projects from messing with your files or files from other scratch projects. Perhaps a little window could also pop up whenever it calls one of those blocks so that it wouldn't fill up your computer's memory without you giving your permission.

Yeah, that makes sense! Great idea!

Offline

 

#22 2010-06-30 00:38:22

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: File

YUp! That makes sense!  big_smile


Hai.

Offline

 

#23 2010-06-30 00:51:19

Silverspines
Scratcher
Registered: 2009-10-31
Posts: 85

Re: File

coolstuff wrote:

Silverspines wrote:

coolstuff wrote:


You can't make a virus in Scratch with the current version. But by modifying the files on your computer, you totally could.

Maybe there could be a "Files made by scratch" folder or something like that within the Scratch folder and files could only be created, deleted and renamed there within special folders for each project? For instance, say that I had a project called "Cat Frenzy" that used files. All the files for that project would go inside the "Cat Frenzy" folder witch would in turn be inside a folder which had all the folders for scratch projects. This would prevent projects from messing with your files or files from other scratch projects. Perhaps a little window could also pop up whenever it calls one of those blocks so that it wouldn't fill up your computer's memory without you giving your permission.

Yeah, that makes sense! Great idea!

Thanks!


Color Pong! Simple but fun.

Offline

 

#24 2010-06-30 10:09:27

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: File

Interesting discussion! It's tricky to think about writing files, eh?
We want to make Scratch 2.0 have the ability to save some data, but probably not on the user's local machine - probably on our server (where all the Scratch files will be saved as well). I guess it will end up being more like Google Docs: you can save and browse data from your my stuff page.


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#25 2010-06-30 11:30:17

scratchisthebest
Scratcher
Registered: 2009-02-08
Posts: 500+

Re: File

Good idea Lightnin! But offline there could still be a virus. Not sure about Squeak, but ..\ in a file path means up one level. So ..\..\..\WINDOWS, from Scratch, is your C:/WINDOWS folder. It should also make sure you can't make a folder called con or prn  because those make a error in windows. I don't have a mac or Linux so idk there.

PC programmer does it again!  wink
oh yeah, the ..\ thing could be fixed by restricting that too.
I also like the "Scratch Files" folder idea.


bye 1.4, we all loved you. but we all outgrew the site. 2.0 is a welcome change.
http://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.png

Offline

 

Board footer