Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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"]];
share|improve this answer
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
@Hector, that's Windows only. – alancalvitti Jun 29 '15 at 19:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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