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

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

InputNotebook

FilledSmallSquare InputNotebook[ ] gives the current notebook into which keyboard input in the front end will be directed.

FilledSmallSquare InputNotebook returns a NotebookObject.

FilledSmallSquare If there is no current input notebook, InputNotebook[ ] will return $Failed.

FilledSmallSquare The current input notebook is the notebook to which textual commands in the front end are normally directed.

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: Notebooks, SelectedNotebook, EvaluationNotebook, ButtonNotebook.

FilledSmallSquare New in Version 3.