Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Low-Level Notebook Programming >

ButtonNotebook

ButtonNotebook[]
gives the notebook, if any, that contains the button which initiated the current evaluation.
  • If a button in a palette initiates evaluation in another notebook, then ButtonNotebook[] will be the palette, but EvaluationNotebook[] will be the other notebook.
New in 3
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team