Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Low-Level Notebook Programming >

SelectedNotebook

SelectedNotebook[]
gives the currently selected notebook in the front end.
  • 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 are however directed to the input notebook.
  • A palette window can be a currently selected notebook but cannot normally be an input notebook.
New in 3
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team