MathGroup Archive 2008

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

Search the Archive

Re: How remove CellChangeTimes values?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85060] Re: How remove CellChangeTimes values?
  • From: David Reiss <dbreiss at gmail.com>
  • Date: Sat, 26 Jan 2008 05:01:49 -0500 (EST)
  • References: <fn1o83$9t0$1@smc.vnet.net> <fne1p3$55c$1@smc.vnet.net>

A small change in what I say below to ...

Change

SetOptions[NotebookSelection[nb], CellChangeTimes -> {}]


to

SetOptions[NotebookSelection[nb], CellChangeTimes -> Inherited]

[Pointed out to me by Johyn Fultz as the proper way to return the
option to its default]



On Jan 25, 8:18=A0pm, David Reiss <dbre... at gmail.com> wrote:
> select all the content of the notebook. =A0Let the NotebooObject be nb.
>
> Then in another notebook execute:
>
> SetOptions[NotebookSelection[nb], CellChangeTimes -> {}]
>
> If there are lockec cells in the notebook then you will have to
> execute
>
> SetOptions[nb,Editable -> True]
>
> first.
>
> However, non editable cells may be there for a reason, so use with
> care. =A0And, of course CellChangeTimes may be being used bby something
> else, so breakage may occur as well... =A0 Litter is in the eye of the
> beholder... =A0but I suppose cleanliness is too...
>
> -David
> A WorkLife FrameWork
> E x t e n d i n g MATHEMATICA's Reach...http://scientificarts.com/worklife=
/
>
> On Jan 21, 4:22=A0am, Murray Eisenberg <mur... at math.umass.edu> wrote:
>
> > I have a notebook littered with often long CellChangeTimes->...
> > expressions within its cell expressions. =A0Of course I know how to us=
e
> > the Option Inspector so as not to record CellChangeTimes values. =A0Bu=
t
> > how can all existing CellChangeTimes values be removed, so as to "clean
> > up" the notebook file?
>
> > --
> > Murray Eisenberg =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 mur... at math.umass=
> .edu
> > Mathematics & Statistics Dept.
> > Lederle Graduate Research Tower =A0 =A0 =A0phone 413 549-1020 (H)
> > University of Massachusetts =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0413 545-2859 (W=
> )
> > 710 North Pleasant Street =A0 =A0 =A0 =A0 =A0 =A0fax =A0 4=
13 545-1801
> > Amherst, MA 01003-9305



  • Prev by Date: Better way to write this
  • Next by Date: Re: List complement operator
  • Previous by thread: Re: Re: How remove CellChangeTimes values?
  • Next by thread: Shuffle problem