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
  • 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
    Commented Jul 17, 2014 at 16:21
  • $\begingroup$ @Szabolcs I think you are right. It has never automatically opened notebooks for me on Windows or Linux. $\endgroup$
    – mfvonh
    Commented Jul 17, 2014 at 16:22

1 Answer 1

8
$\begingroup$
Options[$FrontEnd, AutoOpenNotebooks]

or

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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