|
|
|||
|
|
| ButtonNotebook[] gives the notebook, if any, that contains the button which initiated the current evaluation. |
Make a button that sets nb to the NotebookObject for the button's notebook:
After the button is clicked the variable is assigned:
Use the object for further processing:
|
| © 2013 Wolfram Research, Inc. |