Logging Transcript to a file

Ned Konz ned at bike-nomad.com
Wed Jun 19 14:20:40 UTC 2002


On Tuesday 18 June 2002 04:22 pm, Markus Fritsche wrote:

> What is the normal way if I want to double all output of Transcript
> to a file?

The Transcript is a Model, so if you add an object as a dependent, it 
will be notified when the contents change. This could trigger a write 
to a file.

So if you respond to update: of the following aspects:

#bs 			backspace
#appendEntry	new stuff has appeared
#clearText	clear the text

And you can ask the Transcript for its contents.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE




More information about the Squeak-dev mailing list