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

#1 2010-05-26 15:19:39

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

How do you change the file extension?

from .sb to .something-else


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#2 2010-05-26 16:17:56

iCode-747
Scratcher
Registered: 2009-11-21
Posts: 1000+

Re: How do you change the file extension?

Why would you want to do that?


-End Transmission-

Offline

 

#3 2010-05-26 16:38:53

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: How do you change the file extension?

Um... change a lot of stuff that says '.sb' in it! (look in ScratchFrameMorph and ScratchFilePicker)


nXIII

Offline

 

#4 2010-05-26 16:51:37

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: How do you change the file extension?

Thanks. Where's ScratchFilePicker located?

@iCode: Secret Project.

Last edited by waveOSBeta (2010-05-26 16:52:50)


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#5 2010-05-26 17:08:15

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: How do you change the file extension?

Never mind, I found that. Now, I need to know how to get the new file extension (.rge) to show up in the "open" dialog.


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#6 2010-05-26 17:16:36

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: How do you change the file extension?

waveOSBeta wrote:

Never mind, I found that. Now, I need to know how to get the new file extension (.rge) to show up in the "open" dialog.

hm... I think that's in FilePicker's class methods

Last edited by nXIII (2010-05-26 17:16:44)


nXIII

Offline

 

#7 2010-05-26 17:18:21

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: How do you change the file extension?

I'll check...


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#8 2010-05-26 17:23:50

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: How do you change the file extension?

Nope. It was in ScratchFileChooserDialog.

But now the files look like this: "Test.sb.rge".

And show up as "Test.sb.".

Last edited by waveOSBeta (2010-05-26 17:25:04)


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#9 2010-05-26 17:41:33

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: How do you change the file extension?

waveOSBeta wrote:

Nope. It was in ScratchFileChooserDialog.

But now the files look like this: "Test.sb.rge".

And show up as "Test.sb.".

ScratchFrameMorph projectNameFromFileName: or something.


nXIII

Offline

 

#10 2010-05-26 17:45:59

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: How do you change the file extension?

Thanks, I'll check.


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#11 2010-05-26 17:47:11

iCode-747
Scratcher
Registered: 2009-11-21
Posts: 1000+

Re: How do you change the file extension?

OH!

You're doing it for RAGE!

Like the Panther extension is .pt, you don't want yours to be .sb!

Make it... .RA=D

lol


-End Transmission-

Offline

 

#12 2010-05-26 17:47:34

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: How do you change the file extension?

Nope. Didn't work.


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

Board footer