Re: NotebookClose
- To: mathgroup at smc.vnet.net
- Subject: [mg86605] Re: NotebookClose
- From: dh <dh at metrohm.ch>
- Date: Fri, 14 Mar 2008 04:19:52 -0500 (EST)
- References: <frclsc$rpn$1@smc.vnet.net>
N K wrote: > Hi Everyone, > I have the following situation: > Hi Nadia, your description is not too clear, but I take it you want to close all windows having "temp" in their title. Try this: NotebookClose/@Select[Notebooks[],{}!=StringPosition[("WindowTitle"/.NotebookInformation[#]),"temp"]&] hope this helps, Daniel > I have about 30 Mathematica windows open and I would > like to close the windows with a specific title. I can > get a listing of all the notebooks by using the > command Notebooks[]. I can further get the information > for all the notebooks by > Map[NotebookInformation[#], Notebooks[]] > > This gives information such as the WindowTitle, > MemoryModificationTime and ModifiedInMemory. > I would however, like to close the notebooks that have > a WindowTitle as "temp" for example. > > Any suggestions would be great. > > Thanks in advance, > Nadia > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > >