4
$\begingroup$

It involves an order of magnitude more mouse clicks and visually searching text to set some option in the Option Inspector (which is a UX nightmare) than doing that in a notebook by running some command, or doing it in some menu or palette. In general, how to do that by running commands? Is there some palette for choosing and discovering configurable options?

$\endgroup$
1
  • $\begingroup$ I can confirm that the Option Inspector is indeed a total nightmare, and I'd say the same thing about Mathematica's notebook options management in general. $\endgroup$
    – kjo
    Commented Jun 7, 2015 at 18:21

1 Answer 1

3
$\begingroup$

All options of an any element XXX are available from your program by Options[XXX] or AbsoluteOptions[XXX].

To change any options you can use SetOptions[XXX, OptionName->OptionValue]

Unfortunately not all options has clear explanation in Mathematica help system..

$\endgroup$
4
  • $\begingroup$ That's not what I meant. I mean the configurations one is asked to set in the Options Inspector. $\endgroup$
    – user13253
    Commented Mar 24, 2015 at 22:04
  • 4
    $\begingroup$ @qazwsx this answer is correct but incomplete (question likely to be a duplicate I would think). For global front end options replace XXX with $FrontEnd or $FrontEndSession, for notebook options use EvaluationNotebook[]. You can enter as many options as you want, not just one at a time. All the options set in the options inspector can be set in this way. Additionally please read docs on CurrentValue $\endgroup$ Commented Mar 24, 2015 at 22:17
  • $\begingroup$ @MikeHoneychurch, Hm, current values of an options will be obtained by Options/AbsoluteOptions isn't it? So, I guess, these data will take in account the values rewritten by FrontEnd. Or I'm wrong with this? $\endgroup$
    – Rom38
    Commented Mar 25, 2015 at 9:16
  • $\begingroup$ just for future reference, some examples of such usage can be found here and here $\endgroup$
    – glS
    Commented Mar 9, 2018 at 21:49

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.