Re: How remove CellChangeTimes values?
- To: mathgroup at smc.vnet.net
- Subject: [mg85005] Re: How remove CellChangeTimes values?
- From: David Reiss <dbreiss at gmail.com>
- Date: Tue, 22 Jan 2008 02:00:12 -0500 (EST)
- References: <fn1o83$9t0$1@smc.vnet.net>
select all the content of the notebook. Let 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. And, of course CellChangeTimes may be being used bby something
else, so breakage may occur as well... Litter is in the eye of the
beholder... but 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 use
> the Option Inspector so as not to record CellChangeTimes values. =A0But
> 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 413 545-1801
> Amherst, MA 01003-9305