FrontEndExecute
FrontEndExecute[expr]
sends expr to be executed by the Wolfram System front end.
Details
- FrontEndExecute[expr] sends expr to $FrontEnd via WSTP using LinkWrite.
- The standard Wolfram System front end can handle only specific notebook manipulation commands such as NotebookApply, NotebookLocate and SelectedNotebook. It uses the versions of these commands in the FrontEnd` context.
- FrontEndExecute[FrontEndToken["name"]] executes named commands in the front end, typically corresponding to menu items.
Examples
open allclose allBasic Examples (2)
This calls the front end's CellPrint function:
Create a notebook with two cells:
Merge the cells by using a FrontEndToken:
Properties & Relations (2)
Use FrontEndExecute to do a sequence of front end functions:
Wolfram Research (1996), FrontEndExecute, Wolfram Language function, https://reference.wolfram.com/language/ref/FrontEndExecute.html.
Text
Wolfram Research (1996), FrontEndExecute, Wolfram Language function, https://reference.wolfram.com/language/ref/FrontEndExecute.html.
CMS
Wolfram Language. 1996. "FrontEndExecute." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FrontEndExecute.html.
APA
Wolfram Language. (1996). FrontEndExecute. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FrontEndExecute.html