Tokens Related to the Cell Menu

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 commandsas well as ones not accessible directly with the default front end menu configuration.

ReferenceReference

FrontEndTokenExecute execute a menu-like command specified by a front end token

"SelectionConvert" convert the selection to StandardForm, TraditionalForm, etc.

"SelectionDisplayAs" display selection in StandardForm etc. without interpretation

"CellTagsEditDialog" open the Edit Cell Tags dialog

"CellLabelsToTags" create cell tags from In[n] and Out[n] labels

"CellGroup" group selected cells

"CellUngroup" ungroup selected cells

"SelectionOpenAllGroups" open all cell groups within the selection

"SelectionCloseAllGroups" close all cell groups within the selection

"SelectionCloseUnselectedCells" close all unselected cells within a cell group

"OpenCloseGroup" open or close the selected cell groups

"CellSplit" split the cell

"CellMerge" merge the selected cells into one cell

"DeleteGeneratedCells" delete all generated output cells

"ToggleShowExpression" toggle the cell to show the underlying symbolic expression form