Title -- I'd love some way to insert a component that autogenerated a treenav or tab strip by taking all window names in the tree, replacing underscores with spaces or similar, and capitalizing them.
It feels like this should be possible since the designer can do it
EDIT: I can script my own, but I'd prefer not to reinvent the wheel here
Not that I know of, unless there's one on the exchange or on these forums somewhere I haven't seen. I was only on here 319 days last year so I probably missed something
Unless you have a clear way you determine main windows through their paths, it'd be somewhat tricky to auto gen the list while excluding views meant for embedding
This is Vision, not Perspective, so it isn't that. It is the windows meant to be used as popups that need to be excluded. You have to open them to retrieve the window property for starting maximized.
Ok -- so if I was to assume no popups, the answer would be 'walk the project file to find all the XMLs, then use that to build a dataset for the tabstrip'?
No, there's a scripting function that will give you all the window names in the project. I'm surprised and disappointed that you didn't find this in the documentation.
Posterity: system.gui and system.nav (and the grab bag of other miscellaneous system.x functions that are only available on Vision clients) are moved to system.vision in 8.3, with their existing implementations "soft" deprecated (deemphasized in autocomplete) for the duration of 8.3.
Usually the confusion goes the opposite way - someone working in Perspective trying to run system.gui or system.nav things. But yeah, it's an endless source of easy mistakes.