FrontEndDynamicExpression
is a global front end option that specifies an expression to be dynamically updated whenever the front end is running.
Details
- FrontEndDynamicExpression->Dynamic[expr] causes the expression to be tracked and updated in the usual way, except that expr is not displayed anywhere.
- FrontEndDynamicExpression can be set on any valid front end object such as $FrontEnd or $FrontEndSession.
Examples
open allclose allBasic Examples (1)
Run a dynamic expression that prints the number of open notebooks:
Restore the default value of FrontEndDynamicExpression:
Properties & Relations (2)
Dynamic can be omitted from the right-hand side if :> is used in SetOptions:
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), FrontEndDynamicExpression, Wolfram Language function, https://reference.wolfram.com/language/ref/FrontEndDynamicExpression.html.
CMS
Wolfram Language. 2010. "FrontEndDynamicExpression." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FrontEndDynamicExpression.html.
APA
Wolfram Language. (2010). FrontEndDynamicExpression. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FrontEndDynamicExpression.html