If I'm evaluating an entire large notebook, I usually just press Alt-V Y to find the currently evaluating cell. Is there a way to keep the currently evaluating cell automatically in focus so that the notebook automatically scrolls there without me having to press any keys?
Asked
Active
Viewed 423 times
10
-
Related but distinct: (1948), (29396) – Mr.Wizard Dec 31 '15 at 08:21
2 Answers
10
I just tried this, and it seems to work. See if it works for you.
Type this in first cell (thanks to Kuba suggestion, changed it to use SelectionMove[EvaluationCell[])
SetOptions[EvaluationNotebook[], CellProlog :> SelectionMove[EvaluationCell[], All, Cell]]
You can make the above an initialization cell.
Then Evaluation->Evaluate notebook. now it will scroll down, keeping current evaluating cell in view all the time.

reference: how-to-make-cursor-jump-automatically-to-next-input-cell-after-evaluating-previo
-
@Kuba thanks, You suggestion of using
EvaluationCell[]is better. I updated it. – Nasser Mar 09 '15 at 09:43 -
8
This is not as general as Nasser's answer but in case of output being there you can use:
SetOptions[$FrontEndSession, EvaluationCompletionAction -> "ScrollToOutput"]
Kuba
- 136,707
- 13
- 279
- 740