This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / New in Version 3.0 / Notebooks  /
FrontEndExecute

  • FrontEndExecute[ expr ] sends expr to be executed by the Mathematica front end.
  • FrontEndExecute[ expr ] sends expr to $FrontEnd via MathLink using LinkWrite.
  • The standard Mathematica 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.
  • See the Mathematica book: Section 2.10.5.
  • See also: LinkWrite, ButtonEvaluator.