Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Notebooks and Documents > Low-Level Notebook Programming > EvaluationNotebook >

EvaluationNotebook

EvaluationNotebook
gives the notebook in which this function is being evaluated.
Get the current NotebookObject notebook being evaluated:
Use the object for further processing:
Get the current NotebookObject notebook being evaluated:
In[1]:=
Click for copyable input
Out[1]=
Use the object for further processing:
In[2]:=
Click for copyable input
Out[2]=
Create a palette button that writes to the input notebook and then closes the palette:
The notebook that starts an evaluation might not be the input notebook:
Moving the selection in the evaluation notebook does not change the output cell location:
New in 3
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF