Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

PrintTemporary

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93099] PrintTemporary
  • From: Hannes Kessler <HannesKessler at hushmail.com>
  • Date: Sun, 26 Oct 2008 01:28:30 -0500 (EST)

Hello all,

PrintTemporary[..] messages which are in fact notebook interface
objects are not found by Cases[Notebooks[], _NotebookInterfaceObject].
I would like to remove all of them at certain points as too many
temporary messages are generated during the evaluation of several
packages.

Of course, it would be possible to code

temporaryMessages = {};
...
AppendTo[temporaryMessages, PrintTemporary["text 1"];
...
AppendTo[temporaryMessages, PrintTemporary["text 2"];
...
NotebookDelete  /@  temporaryMessages

But unfortunately I was too lazy to do that when I wrote the packages.
Is there another possibility ?

Best regards,
Hannes Kessler



  • Prev by Date: Re: Re: Is there a simple way to transform 1.1 to 11/10?
  • Next by Date: Re: Controlling the order of evaluations
  • Previous by thread: Re: Mathematica Equivalent of Excel VLOOKUP function
  • Next by thread: Re: PrintTemporary