MathGroup Archive 2000

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

Search the Archive

Open &Close without setting?

Suppose the user is making her way by clicking on buttons that open
several windows or
palettes. The following function :

toOpen [file_String] :=
    NotebookOpen[FrontEnd`FileName[{ParentDirectory, "myApplication"},

will allow  to open several palettes at a time: for example to open at
one moment 4 palettes
it suffice to put as ButtonFunction the FullForm of
toOpen  /@  {"palette1",

This is convenient because it is very simple and does not care on
plateform beeing. Neither it cares about the number of windows to open.

How could I write a similar simple function to close some of opened
from just giving their file names, without using any setting as nb =...?

  • Prev by Date: long-time calculation
  • Next by Date: BarChart Bug?
  • Previous by thread: Re: long-time calculation
  • Next by thread: BarChart Bug?