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.
3 Answers
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[]]]
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.
-
$\begingroup$ Love the hack! (Adding another few characters.) $\endgroup$ Apr 16, 2015 at 19:48
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.
-
1
-
-
$\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$– yanfyonJul 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$ Jul 8, 2013 at 5:12
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.
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.
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.
-
$\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$– tchronisJul 8, 2013 at 13:01
-
$\begingroup$ @tchronis I'm not really sure what you mean. Could you explain a little more? $\endgroup$– WilliamJul 8, 2013 at 15:32
-
$\begingroup$ How can i save this palette for future use? Also i would like not to contain itself... $\endgroup$– tchronisJul 8, 2013 at 17:54
-
$\begingroup$ @tchronis I think you meant to ask Sjoerd C. de Vries my question contains no palettes $\endgroup$– WilliamJul 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
Window
menu. $\endgroup$