# Slideshow mode: how to cycle slides automatically?

I'm doing a slideshow for an informative conference, so I need a slideshow running in background on some monitors.

My question is: is there any way to make Mathematica to cycle slides automatically? Manipulate, Animate and SlideView have the "Play" button by which one can set the speed. I'd need something similar for the slideshow.

Any idea is welcome, also those which require the editing of notebook code.

-
Related: 17394 –  Michael E2 Sep 21 '13 at 12:39

When I execute this code at the beginning of a slideshow, the cells are presented one after the other and the slides change automatically.

nb = EvaluationNotebook[]; n = 20;
While[True, SelectionMove[nb, Before, Notebook];
Do[SelectionMove[nb, Next, Cell]; SelectionMove[nb, After, Cell];
Pause[1], {n}]]


You might want to change n, and either hide the evaluating cell manually or with code.

You do not have to put that code in your slide show. In fact, you can open the slide show with code from another notebook. In that case, you should change the first command to something like

nb = NotebookOpen[ToFileName[docpath, "document.nb"]];

-
Thank: it seems to work! Do you thin isn't there a method to perform it without the "selection move"? –  markus Sep 22 '13 at 6:23
You might want to set an AutoHotkey macro that sends PageDown and Ctrl+Home keystrokes to Mathematica. –  Hector Sep 22 '13 at 8:50