13
$\begingroup$

While working with multiple notebooks in Mathematica, is there a way to have the names of the files appear along with the minimized window of the file. I mean that sometimes I forget which file was places where on minimizing and have not found a way to locate by name.

$\endgroup$
6
  • $\begingroup$ Hello. By files You mean notebooks? $\endgroup$
    – Kuba
    Jul 7, 2013 at 19:11
  • $\begingroup$ How many notebook windows are you dealing with? $\endgroup$
    – Yves Klett
    Jul 7, 2013 at 19:17
  • $\begingroup$ @Kuba This used to not be so much of an issue when the minimize, maximize, and close buttons were much smaller in xp and classic windows in Vista the buttons are so large you can't read anything $\endgroup$
    – William
    Jul 7, 2013 at 19:40
  • $\begingroup$ @Liam Agree, I just wanted to be sure what OP means. About the question: In MMA I always switch between NBs through Window menu. $\endgroup$
    – Kuba
    Jul 7, 2013 at 19:56
  • 7
    $\begingroup$ This question appears to be off-topic because it is about the Windows OS and not about Mathematica $\endgroup$
    – m_goldberg
    Jul 7, 2013 at 20:06

3 Answers 3

25
$\begingroup$

I don't think you can do this. As an alternative, you can have a palette with all the Mathematica windows for easy switching. Something like this quick hack:

CreatePalette[
 Dynamic@Column[
   Button[
      "WindowTitle" /. NotebookInformation@#, 
      SetSelectedNotebook@#
   ] & /@ Notebooks[]]]

enter image description here

To remove the palette window itself from the notebook list you could do the following:

With[{title = "Notebook selector"},
 CreatePalette[
  Dynamic@Column[
    DeleteCases[
     Button["WindowTitle" /. NotebookInformation@#, SetSelectedNotebook@#] & /@ Notebooks[],
     Button[title, _]
     ]
    ], WindowTitle -> title
  ]
 ]

You can save the palette by selecting it and choosing "Generate Palette from Selection" from the Palette menu.

$\endgroup$
1
  • $\begingroup$ Love the hack! (Adding another few characters.) $\endgroup$ Apr 16, 2015 at 19:48
1
$\begingroup$

Actually the first 2-3 letters of the file name are shown on the mininmized window if you look carefully. If your multiple files have names starting differently in first 2-3 letters, you still can easily tell which is which.

enter image description here

$\endgroup$
4
  • 1
    $\begingroup$ Not for me in Windows 7. One letter isn't useful at all IMO. $\endgroup$
    – William
    Jul 7, 2013 at 22:00
  • $\begingroup$ I use Mathematica 9 on Window 7 Ultimate. $\endgroup$
    – yanfyon
    Jul 7, 2013 at 22:08
  • $\begingroup$ I check on my other PC using Mathematica 8 on Windows 7 ultimate, no letter showing at all on the minimized window. Might be related to version of Mathematica? $\endgroup$
    – yanfyon
    Jul 7, 2013 at 22:16
  • $\begingroup$ Yes this is probably related to Mathematica version as it does not work for me using Mathematica 7 on Windows 7 ultimate. $\endgroup$
    – cleanplay
    Jul 8, 2013 at 5:12
1
$\begingroup$

I am going to assume you are on Windows.

In Windows 7 and Vista the minimize, maximize, and close buttons are so large you can't read anything.

enter image description here

This used to not be so much of an issue when the minimize, maximize, and close buttons were much smaller in xp and classic windows.

As another solution you could shrink the minimize, mazimize and close buttons using caption buttons.

enter image description here

You could also switch the theme to classical windows or download uxtheme patcher and converting the theme to something that has smaller minimize, maximize and close buttons.

$\endgroup$
5
  • $\begingroup$ Why NotebookInformation is in red color ? Also this palette is untitled and it appears on the palette. How can this panel be saved ? Thanks! $\endgroup$
    – tchronis
    Jul 8, 2013 at 13:01
  • $\begingroup$ @tchronis I'm not really sure what you mean. Could you explain a little more? $\endgroup$
    – William
    Jul 8, 2013 at 15:32
  • $\begingroup$ How can i save this palette for future use? Also i would like not to contain itself... $\endgroup$
    – tchronis
    Jul 8, 2013 at 17:54
  • $\begingroup$ @tchronis I think you meant to ask Sjoerd C. de Vries my question contains no palettes $\endgroup$
    – William
    Jul 8, 2013 at 19:07
  • 1
    $\begingroup$ @tchronis See my updated answer (indeed you were commenting below the wrong question). $\endgroup$ Jul 11, 2013 at 21:47

Your Answer

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

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