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

FrontEndTokenExecute

FrontEndTokenExecute["cmd"]
executes the specified front end command token, typically corresponding to a front end menu item.
Create a new notebook by using a front end token command:
Create a notebook with two cells:
Merge the cells by using a FrontEndToken:
Create a new notebook by using a front end token command:
 
Create a notebook with two cells:
In[1]:=
Click for copyable input
Merge the cells by using a FrontEndToken:
New in 4.0