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

#1 2011-04-26 07:27:00

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

[New Block] [Rocket] Please help with - Save Project As [Text]

Hi, i am making a block that saves the project, but you enter in the directory, and the project name and it will save, rather than having to navigate your self.

Help?


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#2 2011-04-26 07:36:31

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: [New Block] [Rocket] Please help with - Save Project As [Text]

ssss wrote:

Hi, i am making a block that saves the project, but you enter in the directory, and the project name and it will save, rather than having to navigate your self.

Help?

Examine the source ofthe ScratrchFrameMorph saveScratchProject and other save methods. I don't have any code, because i don't have time to get it.


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#3 2011-04-26 07:37:43

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: [New Block] [Rocket] Please help with - Save Project As [Text]

bbbeb wrote:

ssss wrote:

Hi, i am making a block that saves the project, but you enter in the directory, and the project name and it will save, rather than having to navigate your self.

Help?

Examine the source ofthe ScratrchFrameMorph saveScratchProject and other save methods. I don't have any code, because i don't have time to get it.

-_- Thanks
0.o

how do i get myself into these messes?


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#4 2011-04-26 07:39:02

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: [New Block] [Rocket] Please help with - Save Project As [Text]

Let's see... The save code is at Scratch-UI-Panes -> ScratchFrameMorph -> file read/write -> saveScratchProject.
Let me play around with that a little.

Offline

 

#5 2011-04-26 07:42:30

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: [New Block] [Rocket] Please help with - Save Project As [Text]

scimonster wrote:

Let's see... The save code is at Scratch-UI-Panes -> ScratchFrameMorph -> file read/write -> saveScratchProject.
Let me play around with that a little.

K, at the moment changing save to .roc rather than .sb


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#6 2011-04-26 07:47:00

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

Re: [New Block] [Rocket] Please help with - Save Project As [Text]

you have to use the code ScratchFrameMorph saveProjectNoDialog, but edit the code to make a new method  smile

Offline

 

#7 2011-04-26 07:49:52

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: [New Block] [Rocket] Please help with - Save Project As [Text]

thanks


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#8 2011-04-26 07:51:51

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: [New Block] [Rocket] Please help with - Save Project As [Text]

ssss wrote:

scimonster wrote:

Let's see... The save code is at Scratch-UI-Panes -> ScratchFrameMorph -> file read/write -> saveScratchProject.
Let me play around with that a little.

K, at the moment changing save to .roc rather than .sb

.roc, as in rocket?  tongue

Offline

 

#9 2011-04-26 07:53:35

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: [New Block] [Rocket] Please help with - Save Project As [Text]

scimonster wrote:

ssss wrote:

scimonster wrote:

Let's see... The save code is at Scratch-UI-Panes -> ScratchFrameMorph -> file read/write -> saveScratchProject.
Let me play around with that a little.

K, at the moment changing save to .roc rather than .sb

.roc, as in rocket?  tongue

yes  tongue


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#10 2011-04-26 07:53:53

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: [New Block] [Rocket] Please help with - Save Project As [Text]

scimonster wrote:

ssss wrote:

scimonster wrote:

Let's see... The save code is at Scratch-UI-Panes -> ScratchFrameMorph -> file read/write -> saveScratchProject.
Let me play around with that a little.

K, at the moment changing save to .roc rather than .sb

.roc, as in rocket?  tongue

Yes, I think so.

Offline

 

#11 2011-04-26 07:57:47

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: [New Block] [Rocket] Please help with - Save Project As [Text]

ProgrammingFreak wrote:

scimonster wrote:

ssss wrote:


K, at the moment changing save to .roc rather than .sb

.roc, as in rocket?  tongue

Yes, I think so.

outposted.

Now, what am i supposed to edit again>?


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#12 2011-04-26 07:58:44

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: [New Block] [Rocket] Please help with - Save Project As [Text]

ssss wrote:

ProgrammingFreak wrote:

scimonster wrote:


.roc, as in rocket?  tongue

Yes, I think so.

outposted.

Now, what am i supposed to edit again>?

Scratch-UI-Panes -> ScratchFrameMorph -> file read/write -> saveScratchProjectNoDialog (according to LS97)

Offline

 

#13 2011-04-26 07:59:59

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: [New Block] [Rocket] Please help with - Save Project As [Text]

scimonster wrote:

ssss wrote:

ProgrammingFreak wrote:

Yes, I think so.

outposted.

Now, what am i supposed to edit again>?

Scratch-UI-Panes -> ScratchFrameMorph -> file read/write -> saveScratchProjectNoDialog (according to LS97)

No, for saving file?'
-6-0-s-e-c-o-n-d-r-u-l-e-f
-g-a-m-e
-d-r-w-h-o


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#14 2011-04-26 08:03:09

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: [New Block] [Rocket] Please help with - Save Project As [Text]

ssss wrote:

scimonster wrote:

ssss wrote:


outposted.

Now, what am i supposed to edit again>?

Scratch-UI-Panes -> ScratchFrameMorph -> file read/write -> saveScratchProjectNoDialog (according to LS97)

No, for saving file?'
-6-0-s-e-c-o-n-d-r-u-l-e-f
-g-a-m-e
-d-r-w-h-o

The code there?

Offline

 

#15 2011-04-26 08:03:37

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: [New Block] [Rocket] Please help with - Save Project As [Text]

scimonster wrote:

ssss wrote:

scimonster wrote:


Scratch-UI-Panes -> ScratchFrameMorph -> file read/write -> saveScratchProjectNoDialog (according to LS97)

No, for saving file?'
-6-0-s-e-c-o-n-d-r-u-l-e-f
-g-a-m-e
-d-r-w-h-o

The code there?

found what i needed -_-


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

Board footer