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.
1 Answer
Here is a small example:
Labeled @@@ MaximalBy[
{Max[{CurrentValue[#, CellChangeTimes], 0}], #} & /@ Cells[nb]
, First,
10
] // TimelinePlot
Does this fit your needs?
-
$\begingroup$ is there a way i can see exactly what was changed or see the cell prior to change? $\endgroup$ Aug 25, 2017 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, 2017 at 16:30