6
$\begingroup$

I'm programmatically creating notebooks containing dynamic content. When a new notebook is being created, a window pops up:

enter image description here

I then manually click on "Continue" and it will create the notebook. The same steps happen for each notebook being created. How to automatically deal with this?

$\endgroup$
  • $\begingroup$ Did you try to change DynamicUpdating and DynamicEvaluationTimeout in the option inspector? $\endgroup$ – ybeltukov Sep 27 '13 at 19:55
  • $\begingroup$ No; How to set DynamicEvaluationTimeout and DynamicUpdating as part of my program and resetting them to default right before the program is complete? I'd like to avoid using GUI. $\endgroup$ – qazwsx Sep 27 '13 at 22:28
  • $\begingroup$ Consider using queued/asynchronous evaluations for stuff that take too long and don't need priority $\endgroup$ – Rojo Sep 29 '13 at 3:11
9
$\begingroup$

You can programatically change DynamicEvaluationTimeout like this:

SetOptions[$FrontEnd, "DynamicEvaluationTimeout" -> 30]

On my machine it was set to 6 by default.

Similary for DynamicUpdating where the options are True, False and Automatic

SetOptions[$FrontEnd, "DynamicUpdating" -> True]

I think that just changing DynamicEvaluationTimeout to something high enough should fix your problem.

$\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.