NotebookDynamicExpression
is an option for notebooks that specifies an expression to be dynamically updated whenever that notebook is visible.
Details

- NotebookDynamicExpression->Dynamic[expr] causes the expression to be tracked and updated in the usual way, except that expr is not displayed anywhere.
Examples
open allclose allProperties & Relations (1)
Dynamic can be omitted from the right-hand side if :> is used:
Similarly, Dynamic can be omitted from the right-hand side if := is used in CurrentValue:
As with any other Dynamic expression, Refresh may be used to control reevaluation:
Text
Wolfram Research (2010), NotebookDynamicExpression, Wolfram Language function, https://reference.wolfram.com/language/ref/NotebookDynamicExpression.html.
CMS
Wolfram Language. 2010. "NotebookDynamicExpression." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NotebookDynamicExpression.html.
APA
Wolfram Language. (2010). NotebookDynamicExpression. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NotebookDynamicExpression.html