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?
Offline
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.
Offline
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?
Offline
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
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
Offline
you have to use the code ScratchFrameMorph saveProjectNoDialog, but edit the code to make a new method
Offline
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?
Offline
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?
![]()
yes
Offline
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?
![]()
Yes, I think so.
Offline
ProgrammingFreak wrote:
scimonster wrote:
ssss wrote:
K, at the moment changing save to .roc rather than .sb.roc, as in rocket?
![]()
Yes, I think so.
outposted.
Now, what am i supposed to edit again>?
Offline
ssss wrote:
ProgrammingFreak wrote:
scimonster wrote:
.roc, as in rocket?![]()
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
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
Offline
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
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-oThe code there?
found what i needed -_-
Offline