Scripting Result Windows: What functionality I found missing (which stopped me)

Started by ubacher, April 01, 2015, 10:05:28 AM

Previous topic - Next topic

ubacher

Thank you Mario for the newly added Application.CloseResultWindow.
As I tried to implement some of my ideas using result windows I found
I could not because of the following:

1. There is no (scripting) way to activate an existing result window!
2. There is now way to identify what a result window shows:
    .GetFileWindow should also return the name that was given to it at time of creation
   Otherwise one has to keep an external index of window id/content which
   gets real (unworkably) messy.
3. There is no way to find out how many result windows are open. To close
   "all" result windows I have to cycle through an arbitrary high number of instance numbers
   and delete those windows which turn out to exist. Not a "game-killer" but inelegant.
   
(And while I am at it let me mention the leading "Search Result" which Imatch puts into the tab label.
If a name is given the Search Result should be omitted. I have already a feature request posted for this.)