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

Documentation / Mathematica / Built-in Functions / New in Version 3.x / Notebooks /

NotebookApply

FilledSmallSquare NotebookApply[notebook, data] writes data into a notebook at the current selection, replacing the first selection placeholder in data by the current selection, and then setting the current selection to be just after the data written.

FilledSmallSquare NotebookApply[notebook, data, sel] writes data into a notebook and then sets the current selection to be as specified by sel.

FilledSmallSquare The first argument of NotebookApply is a NotebookObject.

FilledSmallSquare NotebookApply does the same as NotebookWrite, except that it replaces the first selection placeholder in data by the current selection.

FilledSmallSquare NotebookApply is often used in setting up actions for buttons in palettes.

FilledSmallSquare Selection placeholders are represented by the character or \[SelectionPlaceholder].

FilledSmallSquare Possible settings for sel are as in NotebookWrite.

FilledSmallSquare See Section 2.11.3.

FilledSmallSquare See also: NotebookWrite, NotebookRead, SelectionMove, ButtonFunction.

FilledSmallSquare New in Version 3.