FrontEndToken
FrontEndToken["cmd"]
is an object that represents a front end command token, typically corresponding to a front end menu item, to be executed by FrontEndExecute.
FrontEndToken[nb,"cmd"]
represents a command that targets the specified notebook.
FrontEndToken[nb,"cmd",param]
represents a command with a parameter.
Details
- Typical tokens corresponding to menu items without parameters include: "Open", "Paste", "SpellCheckerDialog", "StackWindows", "Fraction", "OpenCloseGroup", "EvaluateCells", "EvaluateInitialization".
- Typical tokens with associated parameters include: "Style", "SelectionConvert", "EvaluatorQuit".
- The mapping between command tokens and menu items or keyboard shortcuts is defined in front end text resource files.
Examples
open allclose allBasic Examples (1)
Text
Wolfram Research (1996), FrontEndToken, Wolfram Language function, https://reference.wolfram.com/language/ref/FrontEndToken.html.
CMS
Wolfram Language. 1996. "FrontEndToken." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FrontEndToken.html.
APA
Wolfram Language. (1996). FrontEndToken. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FrontEndToken.html