Is there any command allowing one to collapse all the heading sections in Mathematica (each title content, each chapter, and so on)?
I am interested not in the buttons combination, but rather in the plain command.
Is there any command allowing one to collapse all the heading sections in Mathematica (each title content, each chapter, and so on)?
I am interested not in the buttons combination, but rather in the plain command.
FrontEndTokenExecute["SelectAll"]
FrontEndTokenExecute["SelectionCloseAllGroups"]