FrontEndToken

FrontEndToken["cmd"]
is an object which 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 which targets the specified notebook.

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

DetailsDetails

Introduced in 1996
(3.0)