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$
  • $\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 Jun 7 '15 at 18:21
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$
  • $\begingroup$ That's not what I meant. I mean the configurations one is asked to set in the Options Inspector. $\endgroup$ – qazwsx Mar 24 '15 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$ – Mike Honeychurch Mar 24 '15 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 Mar 25 '15 at 9:16
  • $\begingroup$ just for future reference, some examples of such usage can be found here and here $\endgroup$ – glS Mar 9 '18 at 21:49

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.