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

#1 2011-10-02 04:36:09

1675
Scratcher
Registered: 2009-06-17
Posts: 21

opening scratch files with text editor

can i open it with a text editor and change the scripts from there? i have a whole lot (like over 100) blocks i have to change from mouse x to x position and mouse y to y position

Offline

 

#2 2011-10-02 05:22:55

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: opening scratch files with text editor

Unfortunately I don't think you can. Because some of the characters used in the code of the Scratch project cannot be displayed by the editor, it displays a symbol instead. When you save that symbol replaces what was once there and you get a "bad header" message from Scratch when you try to open the project.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#3 2011-10-02 06:16:42

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

Re: opening scratch files with text editor

Pretty much what sparks said.

Of course, in special cases, you may edit scripts in a byte editor such as Visual Studio, but it's difficult. Whatever you do, however, always make backups!

Offline

 

Board footer