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

#1 2010-08-12 06:27:15

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Make a project name reporter

Can someone make me a project name reporter!


You can now reach me on Twitter @johnnydean1_

Offline

 

#2 2010-08-12 06:31:51

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

Re: Make a project name reporter

^ ScratchFrameMorph projectName
darn 60s

Offline

 

#3 2010-08-12 06:37:15

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Make a project name reporter

Thanks also for the save thing!


You can now reach me on Twitter @johnnydean1_

Offline

 

#4 2010-08-12 07:26:25

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Make a project name reporter

Anyway to stop it getting error if projects not been saved.


You can now reach me on Twitter @johnnydean1_

Offline

 

#5 2010-08-12 07:37:00

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

Re: Make a project name reporter

projectName ifNil: [^ ''].
^ projectName

Offline

 

#6 2010-08-12 07:38:36

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Make a project name reporter

Mine reports error!


You can now reach me on Twitter @johnnydean1_

Offline

 

#7 2010-08-12 07:46:47

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

Re: Make a project name reporter

let me try then

Offline

 

#8 2010-08-12 07:51:05

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Make a project name reporter

Ill try you code then ill tell you what it does.


You can now reach me on Twitter @johnnydean1_

Offline

 

#9 2010-08-12 07:54:19

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Make a project name reporter

Mine still reports error!


You can now reach me on Twitter @johnnydean1_

Offline

 

#10 2010-08-12 07:54:53

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

Re: Make a project name reporter

got it.
in scratch frame morph, make a new method called

projectTitle
^ projectTitleMorph contents

and for the block code it's

your title here
^ ScratchFrameMorph new projectTitle

Offline

 

#11 2010-08-12 08:45:14

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Make a project name reporter

Ill check it now!


You can now reach me on Twitter @johnnydean1_

Offline

 

#12 2010-08-12 08:53:39

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

Re: Make a project name reporter

should work i tried it on byob

Offline

 

#13 2010-08-12 08:58:22

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Make a project name reporter

Nope, not working, but I STILL CANT SAVE which may be a problem


You can now reach me on Twitter @johnnydean1_

Offline

 

#14 2010-08-12 09:03:38

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

Re: Make a project name reporter

my code works. you have a different problem. there you go

Offline

 

#15 2010-08-12 09:07:40

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Make a project name reporter

how to fix saving?


You can now reach me on Twitter @johnnydean1_

Offline

 

#16 2010-08-12 09:18:41

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

Re: Make a project name reporter

i don't know what the problem actually is. to avoid loosing your work, just type
Smalltalk snapshot: true andQuit: true.
in a workspace, select it and click 'do it'.
but that doesn't solve the problem. try asking someone else for more info

Offline

 

Board footer