Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 1
    $\begingroup$ verified that adding the option to the inside of the call to CreateDocument did not work; it seems necessary to add the option after-the-fact with a call to SetOptions. $\endgroup$ Commented Apr 13, 2016 at 18:10
  • $\begingroup$ @Reb.Cabin I suppose adding whatever option works then. $\endgroup$ Commented Apr 13, 2016 at 18:31
  • $\begingroup$ @Reb.Cabin, yes I expected the option to work directly in CreateDocument. Not sure if it's this way by design or a bug. $\endgroup$ Commented Apr 13, 2016 at 18:41
  • $\begingroup$ @SimonWoods The fact that dialog is prompted doesn't seem be related to that specific option but to the fact that you are modifying the notebook. You can use SetOptions[nb, Background -> Red] and it will be equally good, except the fact of the red background ;). $\endgroup$ Commented Apr 14, 2016 at 7:42
  • $\begingroup$ SimonWoods no wait, @Reb.Cabin wants an automatic solution and it is such. Just rephrase it. $\endgroup$ Commented Apr 14, 2016 at 7:48