This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Notebooks / Basic Objects /

SelectedNotebook

FilledSmallSquare SelectedNotebook[ ] gives the currently selected notebook in the front end.

FilledSmallSquare SelectedNotebook returns a NotebookObject.

FilledSmallSquare The currently selected notebook will normally have its title bar highlighted.

FilledSmallSquare The currently selected notebook is the one to which notebook-oriented menu commands in the front end will be directed. Textual commands are however directed to the input notebook.

FilledSmallSquare A palette window can be a currently selected notebook but cannot normally be an input notebook.

FilledSmallSquare See Section 2.11.3.

FilledSmallSquare See also: SetSelectedNotebook, Notebooks, InputNotebook, EvaluationNotebook, ButtonNotebook.

FilledSmallSquare New in Version 3.