NotebookRead[notebook] gives the expression corresponding to the current selection in the specified notebook object.
NotebookRead is the basic way to get into the kernel pieces of notebooks that are being manipulated by the front end.
See Section 2.11.3.
See also: Get, NotebookWrite, NotebookDelete, ButtonSource.
New in Version 3.