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

#1 2012-07-29 05:30:19

lallaway12
Scratcher
Registered: 2012-01-04
Posts: 500+

How do you change the title bar

How do you change this http://i50.tinypic.com/9942ue.png on scratch?


http://i49.tinypic.com/2re4ied.png

Offline

 

#2 2012-07-29 05:56:35

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: How do you change the title bar

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.


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#3 2012-07-29 05:56:55

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: How do you change the title bar

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:

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.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#4 2012-07-29 07:16:20

lallaway12
Scratcher
Registered: 2012-01-04
Posts: 500+

Re: How do you change the title bar

It won`t work  hmm

Last edited by lallaway12 (2012-07-29 07:55:31)


http://i49.tinypic.com/2re4ied.png

Offline

 

#5 2012-07-29 08:27:48

ComputerProgrammer
Scratcher
Registered: 2008-08-25
Posts: 100+

Re: How do you change the title bar

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.  smile


What do scratch blocks and oak trees have in common? Click here to find out!

Offline

 

#6 2012-07-29 08:39:45

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: How do you change the title bar

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 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.  smile

That is what I was saying.  tongue  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.  tongue


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

Board footer