I would like to be able to delete any open notebook with some specific text string in its name. Notebooks returns a list of open notebook objects, but to get the names, I am using a kluge involving
followed by using StringPosition[#,"WindowsTitle"] and then StringTake based on the string positions returned. When I get the exact name of the notebook of interest, it's easy to close it with NotebookClose[name].
I'll bet there is a very straightforward way to extract properties from notebook objects. But I can't find it.