PRODUCTS
PURCHASE
FOR USERS
COMPANY
OUR SITES
DOCUMENTATION CENTER SEARCH
Mathematica
>
Low-Level Notebook Programming
>
Built-in
Mathematica
Symbol
Manipulating Notebooks from the Kernel
Tutorials »
|
SelectionEvaluateCreateCell
NotebookRead
NotebookWrite
See Also »
|
Low-Level Notebook Programming
More About »
SelectionCreateCell
SelectionCreateCell
[
notebook
]
copies the contents of the current selection in a notebook into a new cell.
SelectionCreateCell
[
notebook
,
sel
]
sets the current selection after the copy to be as specified by
sel
.
MORE INFORMATION
The first argument of
SelectionCreateCell
is a
NotebookObject
.
If the current selection is a cell group, then
SelectionCreateCell
will create a new cell group.
Possible settings for
sel
are as in
NotebookWrite
.
The default for
sel
is
After
.
SelectionCreateCell
[
notebook
,
All
]
sets the current selection to be the whole of the newly created cell.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Select a cell and create a copy beneath it:
In[1]:=
In[2]:=
In[3]:=
Select a cell, create a copy, and leave the new cell contents selected:
In[1]:=
In[2]:=
In[3]:=
Applications
(1)
SEE ALSO
SelectionEvaluateCreateCell
NotebookRead
NotebookWrite
TUTORIALS
Manipulating Notebooks from the Kernel
MORE ABOUT
Low-Level Notebook Programming
New in 3
© 2008 Wolfram Research, Inc.