6
$\begingroup$

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.

$\endgroup$
6
$\begingroup$

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?

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.