Hey, I am making a Scratch mod, and I was wondering how you changed the window title, where it usually says "Scratch of <date,time>, you changed it so that it said Experimental BYOB instead of Scratch. Please tell me how you did that. I've figured out how you changed the help window, but I can't find this in the source code.

Offline
This took me a very long time to find in Panther....
Anyway, it turns out that all you have to do is go to
Scratch-UI-Panes -> ScratchFrameMorph -> --all-- -> updateProjectName
and change the two strings.
The one that says '- Scratch' is the one that is stuck on the end of a project name when the project has a name. The one that says 'Scratch ', Version is the one that is displayed when the project doesn't have a name. So you would want to change the first one (the part in the quotes) to ' - Experimental BYOB' and the second one to 'Experimental BYOB v1.0' or something similar.
Last edited by nXIII (2010-04-21 18:36:46)
Offline
nXIII wrote:
This took me a very long time to find in Panther....
Anyway, it turns out that all you have to do is go to
Scratch-UI-Panes -> ScratchFrameMorph -> --all-- -> updateProjectName
and change the two strings.
The one that says '- Scratch' is the one that is stuck on the end of a project name when the project has a name. The one that says 'Scratch ', Version is the one that is displayed when the project doesn't have a name. So you would want to change the first one (the part in the quotes) to ' - Experimental BYOB' and the second one to 'Experimental BYOB v1.0' or something similar.
thanks. i'll give you credit for this.

Offline
nXIII wrote:
it turns out that all you have to do is go to Scratch-UI-Panes -> ScratchFrameMorph -> --all-- -> updateProjectName and change the two strings
excellent, nXIII! That's precisely how you browse and work through Smalltalk code. Isn't it cool that you can read so much code by so many smart people and learn from it? Well done!
Offline
Jens wrote:
nXIII wrote:
it turns out that all you have to do is go to Scratch-UI-Panes -> ScratchFrameMorph -> --all-- -> updateProjectName and change the two strings
excellent, nXIII! That's precisely how you browse and work through Smalltalk code. Isn't it cool that you can read so much code by so many smart people and learn from it? Well done!
Thanks! I love the Smalltalk browsers.... you can't hate lime green windows
I can't tell you how much I've learned from the code, and I've realized how much work the Scratch Team put in to making the Scratch source easy to work with. I mean, you can make a new message, add a line of text, and BOOM! A new block! You don't have to think about adding it to the page, selectors, drag-and-drop or evaluation.
By the way, I just want you to know that BYOB 3 is one of the most amazing pieces of software I have ever seen or used (even though I haven't even used it yet), so congratulations, and keep doing what you're doing!
Last edited by nXIII (2010-04-22 18:00:18)
Offline
nXIII wrote:
Jens wrote:
nXIII wrote:
it turns out that all you have to do is go to Scratch-UI-Panes -> ScratchFrameMorph -> --all-- -> updateProjectName and change the two strings
excellent, nXIII! That's precisely how you browse and work through Smalltalk code. Isn't it cool that you can read so much code by so many smart people and learn from it? Well done!
Thanks! I love the Smalltalk browsers.... you can't hate lime green windows
![]()
I can't tell you how much I've learned from the code, and I've realized how much work the Scratch Team put in to making the Scratch source easy to work with. I mean, you can make a new message, add a line of text, and BOOM! A new block! You don't have to think about adding it to the page, selectors, drag-and-drop or evaluation.
By the way, I just want you to know that BYOB 3 is one of the most amazing pieces of software I have ever seen or used (even though I haven't even used it yet), so congratulations, and keep doing what you're doing!
Just saying, you can change the browser windows and any native squeak window to any color you want, just by alt-clicking or right-clicking a window and choosing change color
Offline
Does anyone know how to change the logo?
Offline
Billybob-Mario wrote:
Does anyone know how to change the logo?
get a smalltalk window open
type in "Preferences enableProgrammerFacilities"
highlight and hit alt-d
right click on the logo until it is selected, then click the small circle that says repaint.

Offline
BWOG wrote:
Jens wrote:
Right. Or just exchange the entry for #scratchlogo in class ScratchFrameMorph's scratchSkin dictionary for your own picture.
Squeak sounds so advanced
![]()
yes it is.
much more than anything you can build on java in any event.

Offline
Jens wrote:
Right. Or just exchange the entry for #scratchlogo in class ScratchFrameMorph's scratchSkin dictionary for your own picture.
What would I change it to?
Offline
By the logo, I meant the cat head on the titlebar.
Offline
I know this is a necropost, but I am having problems with changing the "project name". When I click "updateProjectName", it gives me:
I push OK, then it says this in the code:
1.
graph computeSlider
self fixSliderRange.].
graph calculateDataArray.
viewer calculateDataArray.
snd setSamples: sel samplingRate: samplingRate.
completeSnd setSamples: sel samplingRate: samplingRate.
selection at: 1 put: 1.
selection at: 2 put: graph data size.
What is wrong? It looks like it is related to the camera code, but I have no clue at all. I am a n00b at Squeak right now.
Offline