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

SelectionMoveSelectionCreateCell

SelectionEvaluate

FilledSmallSquareSelectionEvaluate[notebook] replaces the current selection in a notebook with the result obtained by evaluating the contents of the selection in the kernel.

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

FilledSmallSquare The first argument of SelectionEvaluate is a NotebookObject.

FilledSmallSquare Possible settings for sel are as in NotebookWrite.

FilledSmallSquare The default for sel is After.

FilledSmallSquare Unless sel is None, the current selection after evaluation is complete will always be as specified by sel, even if you moved the selection interactively in the front end during the course of the evaluation.

FilledSmallSquare See The Mathematica Book: Section 2.10.3.

FilledSmallSquare See also: SelectionEvaluateCreateCell, NotebookRead, NotebookWrite, ButtonEvaluator, SelectionAnimate.

Further Examples

SelectionMoveSelectionCreateCell