Front End Tokens
The Wolfram Language allows any front end command to be executed programmatically from within the kernel by sending an appropriate front end token. There are tokens for all standard menu commands—as well as ones not accessible directly with the default front end menu configuration.
FrontEndTokenExecute — execute a menu-like command specified by a front end token
File Menu »
"Save" ▪ "PrintDialog" ▪ "FrontEndQuit" ▪ ...
Edit Menu »
"Undo" ▪ "Cut" ▪ "Copy" ▪ "Paste" ▪ ...
Insert Menu »
"SimilarCellBelow" ▪ "FileNameDialog" ▪ "CreateInlineCell" ▪ ...
Format Menu »
"StyleOther" ▪ "OptionsDialog" ▪ "EditStyleDefinitions" ▪ ...
Cell Menu »
"CellTagsEditDialog" ▪ "CellGroup" ▪ ...
Evaluation Menu »
"EvaluateCells" ▪ "Evaluate" ▪ "ToggleDynamicUpdating" ▪ ...