Get a list of notebook information
NotebookInformation returns information about the current notebook:
Pick out a particular piece of information
Use ReplaceAll (/.) to pick out a particular piece of information:
The edit history of a notebook is available via Cell ▶ Notebook History. See Find the Edit History of a Notebook for details.
The information returned by NotebookInformation differs for desktop and cloud notebooks.
Settings such as window size and magnification are stored in notebook options. The values of all notebook options can be obtained via AbsoluteOptions:
Pick out a particular option using ReplaceAll (/.):
A notebook’s file name and directory are immediately available via NotebookFileName and NotebookDirectory: