lallaway12 wrote:
How do you change this http://i50.tinypic.com/9942ue.png on scratch?
I think you need to edit 'Scratch.exe' in the src folder.
Offline
Scratch-UI-Panes --> ScratchFrameMorph --> private --> updateProjectName
Change both parts where is says "Scratch" to you mod's name.
to change the version part, it is better to change it like this:
1. Open a workspace.
2. Type/paste the following code:
ScratchFrameMorph version: '1.5 of 29-Jul-12'
Change the version and date though.
3. Highlight it, right-click and go to "do it".
Now when you create a new project or save and restart you Scratch mod, it will be changed to whatever you set it to.
Offline
Try opening the browser, and following the path that nathanprocks specified (Scratch-UI-Panes --> ScratchFrameMorph --> private --> updateProjectName), and it should look like this:
updateProjectName
| t1 |
projectName ifNil: [projectName _ ''].
projectTitleMorph contents: (self nameFromFileName: projectName).
projectTitleMorph contents size > 0
ifTrue: [t1 _ projectTitleMorph contents , '- Scratch']
ifFalse: [t1 _ 'Scratch ' , Version].
ScratchPlugin primSetWindowTitle: t1.
self fixLayout
The part that I have highlighted red is what displays after a project's name when it is open. The part that I have highlighted orange is what displays when you have no specific project open at the time. "Version" is a variable holding the text "1.4 (source code of 23-Sep-09)".
Change what you want about it, then option-click and click "accept".
X out of the browser, and save the image for end-user.
Offline
ComputerProgrammer wrote:
Try opening the browser, and following the path that nathanprocks specified (Scratch-UI-Panes --> ScratchFrameMorph --> private --> updateProjectName), and it should look like this:
updateProjectName
| t1 |
projectName ifNil: [projectName _ ''].
projectTitleMorph contents: (self nameFromFileName: projectName).
projectTitleMorph contents size > 0
ifTrue: [t1 _ projectTitleMorph contents , '- Scratch']
ifFalse: [t1 _ 'Scratch ' , Version].
ScratchPlugin primSetWindowTitle: t1.
self fixLayoutThe part that I have highlighted red is what displays after a project's name when it is open. The part that I have highlighted orange is what displays when you have no specific project open at the time. "Version" is a variable holding the text "1.4 (source code of 23-Sep-09)".
Change what you want about it, then option-click and click "accept".
X out of the browser, and save the image for end-user.![]()
That is what I was saying.
I just added an "update version number" item to the developer menu in my mod, using part of the code above. This topic gave me the idea lol.
Offline