NotebookRead

NotebookRead[notebook]

gives the expression corresponding to the current selection in the specified notebook object.

NotebookRead[obj]

gives the expression corresponding to the given cell or box object.

NotebookRead[{obj1,obj2,}]

gives a list of expressions corresponding to the obji.

Details and Options

Examples

open allclose all

Basic Examples  (3)

This creates a document notebook:

This selects the first cell:

This reads the cell and returns its Cell expression:

Read a CellObject:

Read a BoxObject:

Scope  (1)

Create a notebook and move the selection to the first "T":

Read the current selection:

Select multiple cells and read the content:

Select and read graphics:

Display the result:

Applications  (1)

A palette that reads the word at the current selection and makes it uppercase:

Wolfram Research (1996), NotebookRead, Wolfram Language function, https://reference.wolfram.com/language/ref/NotebookRead.html (updated 2012).

Text

Wolfram Research (1996), NotebookRead, Wolfram Language function, https://reference.wolfram.com/language/ref/NotebookRead.html (updated 2012).

BibTeX

@misc{reference.wolfram_2020_notebookread, author="Wolfram Research", title="{NotebookRead}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/NotebookRead.html}", note=[Accessed: 01-December-2020 ]}

BibLaTeX

@online{reference.wolfram_2020_notebookread, organization={Wolfram Research}, title={NotebookRead}, year={2012}, url={https://reference.wolfram.com/language/ref/NotebookRead.html}, note=[Accessed: 01-December-2020 ]}

CMS

Wolfram Language. 1996. "NotebookRead." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/NotebookRead.html.

APA

Wolfram Language. (1996). NotebookRead. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NotebookRead.html