We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technical expertise
To operate on a notebook programmatically, you usually need to know the corresponding NotebookObject identifier. Here is how to find the NotebookObject that corresponds to a given notebook window.
For the Notebook That Contains the Evaluation... For a Given Notebook on the Screen... Get the list of currently open notebooksGet the list of the currently open notebooks. The output indicates notebooks by window title:
Index the notebook list with the position of the notebook you wantFind the position of the notebook you want in the list. Use the position as an index to pull out the notebook you want—for example, the World Time notebook:
Use the NotebookObject in a computationGet the directory that contains the World Time notebook:
Get the NotebookObject of the notebook that contains the evaluationEvaluationNotebook returns the NotebookObject identifier of the notebook in which it is evaluated:
Use the NotebookObject in a computationGet the file name of the evaluation notebook:
Get the NotebookObject of the notebook that contains the evaluationEvaluationNotebook returns the NotebookObject identifier of the notebook in which it is evaluated:
Use the NotebookObject in a computationGet the filename of the evaluation notebook:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4