gives the expression corresponding to the current selection in the specified notebook object.
gives the expression corresponding to the given cell or box object.
gives a list of expressions corresponding to the obji.
Details and Options
- NotebookRead is the basic way to get into the kernel pieces of notebooks that are being manipulated by the front end.
- NotebookRead can take a NotebookObject, CellObject, or BoxObject.
- If a list of CellObject or BoxObject expressions is given, then a list of equal length will be returned, with the expressions corresponding to each object.
- If an object is no longer valid, NotebookRead returns $Failed. If a list of objects is given, then $Failed will be returned for each of the invalid objects.
Examplesopen allclose all
Basic Examples (3)
Wolfram Research (1996), NotebookRead, Wolfram Language function, https://reference.wolfram.com/language/ref/NotebookRead.html (updated 2012).
Wolfram Language. 1996. "NotebookRead." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/NotebookRead.html.
Wolfram Language. (1996). NotebookRead. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NotebookRead.html