4
$\begingroup$

Is there a shortcut key to control the Open property of cell?

Thanks! enter image description here

$\endgroup$
2
  • 1
    $\begingroup$ There is one for open/close cell group: Command+'. Not the same but similar and possibly useful for similar purposes. $\endgroup$ – Szabolcs Aug 29 '18 at 8:20
  • $\begingroup$ Dear Szabolcs, thanks, but I did not get "Commnad +'". I want to transform the notebook to PPT, so I have many code to hide. Wish I can use a shortcut directly. $\endgroup$ – wind1239 Aug 30 '18 at 2:50
1
$\begingroup$

I have find an answer which is really helpfull: AutoCollapse[] function (Hiding inputs with specific function)


Also have find the way of add shortcut button (Create custom shortcut to change font color).

Through change: MenuItem["&Open", CellOpen->Toggle, Scope->SelectionCell], to, e.g. MenuItem["&Open", CellOpen->Toggle, Scope->SelectionCell, MenuKey["0", Modifiers->{"Control"}]]

The figure is shown bellow: enter image description here

$\endgroup$
0
$\begingroup$

While not directly a shortcut, you can always traverse the menu: Alt c p o

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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