Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / New in Version 3.0 / Notebooks  /
SelectionEvaluate

  • SelectionEvaluate[ notebook ] replaces the current selection in a notebook with the result obtained by evaluating the contents of the selection in the kernel.
  • SelectionEvaluate[ notebook , sel ] sets the current selection after the evaluation to be as specified by sel.
  • The first argument of SelectionEvaluate is a NotebookObject.
  • Possible settings for sel are as in NotebookWrite.
  • The default for sel is After.
  • 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.
  • See the Mathematica book: Section 2.10.3.
  • See also: SelectionEvaluateCreateCell, NotebookRead, NotebookWrite, ButtonEvaluator, SelectionAnimate.


    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.