7
$\begingroup$

How to get the list of notebooks that are automatically opened when Mathematica starts programmatically? I know a tedious approach is opening option inspector and finding and copying the list out.

$\endgroup$
  • 2
    $\begingroup$ Options[$FrontEnd] gives you the same info as the option inspector. But I always thought that Mathematica will only auto-open notebooks on OS X, and that's an OS X feature, not a Mathematica feature. (I might be wrong.) $\endgroup$ – Szabolcs Jul 17 '14 at 16:21
  • $\begingroup$ @Szabolcs I think you are right. It has never automatically opened notebooks for me on Windows or Linux. $\endgroup$ – mfvonh Jul 17 '14 at 16:22
8
$\begingroup$
Options[$FrontEnd, AutoOpenNotebooks]

or

CurrentValue[$FrontEnd, AutoOpenNotebooks]
$\endgroup$
  • $\begingroup$ I corrected this to work even if the option is not explicitly set. $\endgroup$ – Szabolcs Jul 17 '14 at 16:25

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.