7

I know there is a way to open Notebook history dialogbox using Cell > Notebook History, but since there can be a lot of history the dialog box can run very slowly with lags. Is there a way to get a list of last, say, 100 actions done in a notebook programmatically. Since a Mathematica notebook is able to reference itself, I am quite sure there must be a way. Can somebody please help me.

Kuba
  • 136,707
  • 13
  • 279
  • 740
user13892
  • 9,375
  • 1
  • 13
  • 41

1 Answers1

7

Here is a small example:

Labeled @@@ MaximalBy[
    {Max[{CurrentValue[#, CellChangeTimes], 0}], #} & /@ Cells[nb]
   , First,
   10
] // TimelinePlot

enter image description here

Does this fit your needs?

Kuba
  • 136,707
  • 13
  • 279
  • 740
  • is there a way i can see exactly what was changed or see the cell prior to change? – user13892 Aug 25 '17 at 16:21
  • 1
    @user13892 I don't think so, but I may be wrong. You'd have to setup a versioning system first. See: 6435 or https://github.com/WolframResearch/GitLink – Kuba Aug 25 '17 at 16:30