After bustling about Sort @ Notebooks[]
for a while, I have surmised that notebook are listed in decreasing order this way:
Message
- saved notebook by file date
- unsaved notebook by creation date
Please, con you confirm or deny ?
By the way, this could be exploited to write on Message notebook in a simply manner:
writeOnMessageNotebook[arg_]:=
NotebookWrite[First @ Sort @ Notebooks[], arg]
I think that WindowTitle
isn't involed in this topic because
(WindowTitle /. Options[#]) & /@ Notebooks[]
returns
{WindowTitle, "Sort - Wolfram Mathematica", WindowTitle}
even with saved notebooks opened.
MessagesNotebook[]
(see this answer and the comments under it for a discussion of why that may not be desirable). $\endgroup$MessagesNotebook[]
works on both ver. 7.0.0 and 8.0.1. I'm going to test on ver. 10. $\endgroup$