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 The Mathematica Book: Section 2.10.3.
See also: Get, NotebookWrite, NotebookDelete, ButtonSource.
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.