FrontEndTokenExecute
FrontEndTokenExecute["cmd"]
executes the specified front end command token, typically corresponding to a front end menu item.
Details
- FrontEndTokenExecute[nb,"cmd"] executes a command targeting a specific notebook.
- FrontEndTokenExecute[nb,"cmd",param] executes a command with a parameter.
- FrontEndTokenExecute[args] is equivalent to FrontEndExecute[FrontEndToken[args]].
Examples
Basic Examples (2)
Create a new notebook by using a front end token command:
Create a notebook with two cells:
Merge the cells by using a FrontEndToken:
Text
Wolfram Research (1999), FrontEndTokenExecute, Wolfram Language function, https://reference.wolfram.com/language/ref/FrontEndTokenExecute.html.
CMS
Wolfram Language. 1999. "FrontEndTokenExecute." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FrontEndTokenExecute.html.
APA
Wolfram Language. (1999). FrontEndTokenExecute. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FrontEndTokenExecute.html