This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

FrontEndExecute

FrontEndExecute[expr]
sends expr to be executed by the Mathematica front end.
This calls the front end's CellPrint function:
Create a notebook with two cells:
Merge the cells by using a FrontEndToken:
This calls the front end's CellPrint function:
In[1]:=
Click for copyable input
A
 
Create a notebook with two cells:
In[1]:=
Click for copyable input
Merge the cells by using a FrontEndToken:
Use FrontEndExecute to do a sequence of front end functions:
Carry out the same steps by kernel functions:
New in 3