Say, I have three opened notebooks Untitled-1, Untitled-2, Untitled-3 in first instance of Mathematica and three notebooks Untitled-1, Untitled-2, Untitled-3 in second instance of Mathematica. How do I distinguish which notebook belong to which instance? Is it possible to have notebooks of one instance to have different window border color then notebooks of another instance? Preferably that it would be done automatically - i.e. each new instance of Mathematica would choose different color of window.

  • $\begingroup$ It may help to know what is the motivation for having two to more instances of Mathematica. $\endgroup$
    – rhermans
    Sep 10 '21 at 12:07
  • 1
    $\begingroup$ Because usually when one notebook of Mathematica crashes then all other notebooks of the same instance crash too. But notebooks of another instance are unaffected. That is why I always use several instances of Mathematica, but then I am confused, which notebook belong to one instance and which to the other. $\endgroup$ Sep 10 '21 at 12:11
  • 1
    $\begingroup$ When you open a new notebook, save it with a name that indicates the instance used. $\endgroup$
    – Bob Hanlon
    Sep 10 '21 at 14:09
  • $\begingroup$ I do not want to save anything before work is finished otherwise I would have many saved files with rubbish. I work with untitled notebooks. When I am happy with the result and the notebook is worthy to be saved only then I save it. $\endgroup$ Sep 10 '21 at 14:13
  • $\begingroup$ You could have all files open by default with a docked cell that contains the name of the instance of Mathematica. I suppose you could direct each instance of Mathematica to open two different init.m files that you modified to do this. You could also do window color or anything else. $\endgroup$
    – B flat
    Sep 10 '21 at 21:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.