Re: Controlling Print[].
- To: mathgroup at smc.vnet.net
- Subject: [mg54023] Re: Controlling Print[].
- From: David Bailey <dave at Remove_Thisdbailey.co.uk>
- Date: Tue, 8 Feb 2005 05:30:58 -0500 (EST)
- References: <cu78se$m8e$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
I think you could achieve what you want by writing a cell with CellPrint
and including a tag so that the cell could be replaced later with one
containing a longer string. However, in practice this might be very
clumsy - particularly if you have other output going to the notebook, so
why not write to the status line at the bottom of the notebook? The
following function will do just that:
writeStatusLine[x___] := LinkWrite[$ParentLink,
SetNotebookStatusLine[
EvaluationNotebook[], StringJoin @@ Map[ToString, {x}]]];
David Bailey
dbaileyconsultancy.co.uk