This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)



FilledSmallSquareSelectionEvaluateCreateCell[notebook] takes the current selection in a notebook and creates a new cell containing the result obtained by evaluating the contents of the selection using the kernel.

FilledSmallSquareSelectionEvaluateCreateCell[notebook, sel] sets the current selection after the evaluation to be as specified by sel.

FilledSmallSquare The first argument of SelectionEvaluateCreateCell is a NotebookObject.

FilledSmallSquare Possible settings for sel are as in NotebookWrite.

FilledSmallSquare The default for sel is After.

FilledSmallSquareSelectionEvaluateCreateCell[notebook, All] sets the current selection to be the cell corresponding the result from the evaluation.

FilledSmallSquareSelectionEvaluateCreateCell performs the same underlying operation as typing Shift-Return in the front end. It does not, however, have side effects such as incrementing $Line.

FilledSmallSquare See The Mathematica Book: Section 2.10.3.

FilledSmallSquare See also: SelectionEvaluate, SelectionCreateCell, NotebookRead, NotebookWrite.