[Newbies] Second transcript window?

Scott Wallace madevu at pacbell.net
Tue Sep 11 05:03:55 UTC 2007


Ah... if operating a separate "private" transcript is what was being  
inquired about, try this:

With a conventional Transcript or two already open on the screen,  
evaluate the following 3 lines in a workspace:

	((myTranscript := TranscriptStream new) openAsMorphLabel: 'My  
Private Transcript') openInWorld.
	myTranscript cr; show: 'hello, private transcript'.
	Transcript cr; show: 'hello, system transcript window(s)'.

Cheers,

   -- Scott


On Sep 10, 2007, at 9:33 PM, Blake wrote:

> On Mon, 10 Sep 2007 21:20:31 -0700, Scott Wallace  
> <madevu at pacbell.net> wrote:
>
>> Hi, John,
>>
>> Via the Squeak UI:  each time you choose "open transcript" from  
>> the "open..." branch of the World menu, a new Transcript window is  
>> opened.
>>
>> Via code:  evaluate "Transcript open".
>
> But that doesn't solve addressing the two transcripts separately.  
> If you do that, and then do:
>
> Transcript show: 'test'
>
> It'll show up on both. If you bring up the halo and copy the  
> transcript, however, you get two completely independent transcripts.
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners



More information about the Beginners mailing list