[Newbies] multiple Transcript windows

K. K. Subramaniam subbukk at gmail.com
Sat Sep 27 05:06:53 UTC 2008

On Friday 26 Sep 2008 11:31:31 pm Mark Volkmann wrote:
> If I have multiple Transcript windows open, can I choose in code which
> one will receive output?
Yes. The "window" is a SystemWindow which shows the contents of the 
TranscriptStream stored in its 'model' variable. If you have an oop to a 
window, say "targetWindow", then use "targetWindow model" to refer to its 

| t hellow |
t := TranscriptStream new.
hellow := t openLabel: 'hello'.
hellow model show: 'hello world'; cr

HTH .. Subbu

More information about the Beginners mailing list