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.

Details

Examples

open allclose all

Basic Examples  (1)

Create a notebook with two cells:

Merge the cells by using a FrontEndToken:

Scope  (2)

Open a document:

Use a token to move the insertion point:

Use a token to select all of the document:

Use a token to close all cell groups in the selection:

Use a front end token to tile notebook windows:

Introduced in 1996
 (3.0)