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

InputNotebook

InputNotebook[]
gives the current notebook into which keyboard input in the front end will be directed.
  • The current input notebook is the notebook to which textual commands in the front end are normally directed.
  • A palette window can be a currently selected notebook but cannot normally be an input notebook.
New in 3