FrontEndToken

FrontEndToken["cmd"]
is an object that represents a front end command token, typically corresponding to a front end menu item, to be executed by FrontEndExecute.

FrontEndToken[nb,"cmd"]
represents a command that targets the specified notebook.

FrontEndToken[nb,"cmd",param]
represents a command with a parameter.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Create a notebook with two cells:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input

Merge the cells by using a FrontEndToken:

In[3]:=
Click for copyable input
Introduced in 1996
(3.0)
Translate this page: