1
$\begingroup$

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.

$\endgroup$

1 Answer 1

2
$\begingroup$
FrontEndTokenExecute["SelectAll"]
FrontEndTokenExecute["SelectionCloseAllGroups"]
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.