winNames ?-fullpath? ?-nocount?
Return a list of all open document windows. If the
-fullpath option is specified, complete path names are returned. If the -nocount option is specified, the count suffix n (n = 2,3...) added to duplicate window names is stripped.
The returned list is always arranged according to the front-to-back ordering on the screen.
Note that this command does not take into account the windows created with the
[view] command: use [view list] instead to list these objects.