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.
NotebookApply[notebook, data, sel] writes data into a notebook and then sets the current selection to be as specified by sel.
The first argument of NotebookApply is a NotebookObject.
NotebookApply does the same as NotebookWrite, except that it replaces the first selection placeholder in data by the current selection.
NotebookApply is often used in setting up actions for buttons in palettes.
Selection placeholders are represented by the character or \[SelectionPlaceholder].
Possible settings for sel are as in NotebookWrite.
See The Mathematica Book: Section 2.10.3.
See also: NotebookWrite, NotebookRead, SelectionMove, ButtonFunction.
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.