1
$\begingroup$

I would like to modify the window title upon initialisation so that the code base is readily identifiable, e.g. Live, Beta, Development, etc. Apparently some systems use different colours to make this obvious. Different frame colours would be great too, but the title would be a very handy place to identify the code base. (Required for Mathematica on Windows.)

I think the ideal solution would be at startup to modify the string "Wolfram Mathematica 11.2" and replace it with "Beta - Mathematica 11.2", for example.

Examples

enter image description here

$\endgroup$
  • 1
    $\begingroup$ CurrentValue[EvaluationNotebook[],WindowTitle]=FileBaseName@NotebookFileName[]<> " - beta"? $\endgroup$ – Kuba Jun 13 '18 at 12:36
  • $\begingroup$ @Kuba - Thanks but I would need Live/Beta to be visible on all generated notebooks in the session, along with the notebook name, (unless overridden). $\endgroup$ – Chris Degnen Jun 13 '18 at 15:03
  • 1
    $\begingroup$ Could you clarify for me how you determine what the code base is? Is this determined by the directory the notebook is in? $\endgroup$ – chuy Jun 13 '18 at 18:57
  • $\begingroup$ @chuy The code base is linked using init.m setting an additional path and loading function declarations. $\endgroup$ – Chris Degnen Jun 15 '18 at 9:44
1
$\begingroup$

Give up trying to add to window title and use status area instead, e.g.

SetOptions[$FrontEnd, WindowStatusArea -> "Live"]
$\endgroup$

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.