The currently selected notebook will normally have its title bar highlighted.
The currently selected notebook is the one to which notebook-oriented menu commands in the front end will be directed. Textual commands, however, are directed to the input notebook.
A palette window can be a currently selected notebook but cannot normally be an input notebook.
(1)
Give the notebook object for the currently selected notebook:
Perform additional operations:
Give the notebook object for the currently selected notebook:
Out[1]=
Perform additional operations:
Out[2]=
(1)
Both programmed operations and user interactions can change the selected SelectedNotebook: