Mathematica > Notebooks and Documents > Low-Level Notebook Programming >

NotebookApply

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.
  • NotebookApply has the same effect as NotebookWrite, except that it replaces the first selection placeholder in data by the current selection.
  • NotebookApply can be used in setting up actions for buttons in palettes.
New in 3
© 2008 Wolfram Research, Inc.
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team