Basic Examples

History data for the first few cells in the input notebook:
In[]:=
data=
[◼]
NotebookHistoryData
[];
In[]:=
Take[data,5]
Out[]=
CellObject
Title
{3.76692×
9
10
,{3.76692×
9
10
,3.76692×
9
10
},3.767×
9
10
},CellObject
Text
{{3.76692×
9
10
,3.76692×
9
10
},{3.767×
9
10
,3.767×
9
10
}},CellObject
Section
{},CellObject
Input
{{3.76692×
9
10
,3.76692×
9
10
},3.76692×
9
10
,3.76692×
9
10
,{3.767×
9
10
,3.767×
9
10
},{3.767×
9
10
,3.767×
9
10
},{3.767×
9
10
,3.767×
9
10
},{3.767×
9
10
,3.767×
9
10
},{3.767×
9
10
,3.767×
9
10
},{3.767×
9
10
,3.767×
9
10
},{3.767×
9
10
,3.767×
9
10
},{3.767×
9
10
,3.767×
9
10
},{3.767×
9
10
,3.767×
9
10
},{3.767×
9
10
,3.767×
9
10
},{3.76759×
9
10
,3.76759×
9
10
},{3.7676×
9
10
,3.7676×
9
10
},{3.7676×
9
10
,3.7676×
9
10
}},CellObject
Section
{}
History data in a notebook with a few changes:
In[]:=
nb=CreateDocument[];
In[]:=
NotebookWrite[nb,#]&/@Range[3];
In[]:=
[◼]
NotebookHistoryData
[nb]
Out[]=
CellObject
Input
{{3.7676×
9
10
,3.7676×
9
10
}}

Properties and Relations

NotebookHistoryDialog gives an interactive overview of notebook history data:
In[]:=
ResourceFunction["NotebookHistoryDialog"][]