# Is there an autofill treenav/tab strip component?

**URL:** <https://forum.inductiveautomation.com/t/is-there-an-autofill-treenav-tab-strip-component/103022>\
**Category:** Ignition\
**Tags:** scripting, ignition81, vision\
**Created:** [February 28, 2025, 3:08am UTC](https://forum.inductiveautomation.com/t/is-there-an-autofill-treenav-tab-strip-component/103022 "2025-02-28T03:08:28Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leor\_Fishman](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Leor\_Fishman](https://forum.inductiveautomation.com/u/Leor_Fishman)\
**Post date:** [February 28, 2025, 3:08am UTC](https://forum.inductiveautomation.com/t/is-there-an-autofill-treenav-tab-strip-component/103022/1 "2025-02-28T03:08:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [February 28, 2025, 9:16am UTC](https://forum.inductiveautomation.com/t/is-there-an-autofill-treenav-tab-strip-component/103022/2 "2025-02-28T09:16:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 28, 2025, 12:16pm UTC](https://forum.inductiveautomation.com/t/is-there-an-autofill-treenav-tab-strip-component/103022/3 "2025-02-28T12:16:57Z")

</div>

> [@nminchin](#):
>
> 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.

---

<div class="post-metadata">

**Author:** ![Leor\_Fishman](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Leor\_Fishman](https://forum.inductiveautomation.com/u/Leor_Fishman)\
**Post date:** [February 28, 2025, 3:10pm UTC](https://forum.inductiveautomation.com/t/is-there-an-autofill-treenav-tab-strip-component/103022/4 "2025-02-28T15:10:13Z")

</div>

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'?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 28, 2025, 3:20pm UTC](https://forum.inductiveautomation.com/t/is-there-an-autofill-treenav-tab-strip-component/103022/5 "2025-02-28T15:20:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Leor\_Fishman](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Leor\_Fishman](https://forum.inductiveautomation.com/u/Leor_Fishman)\
**Post date:** [February 28, 2025, 3:22pm UTC](https://forum.inductiveautomation.com/t/is-there-an-autofill-treenav-tab-strip-component/103022/6 "2025-02-28T15:22:59Z")

</div>

I didn't see it in either the docs or the appendix!

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 28, 2025, 3:23pm UTC](https://forum.inductiveautomation.com/t/is-there-an-autofill-treenav-tab-strip-component/103022/7 "2025-02-28T15:23:52Z")

</div>

> **[system.gui.getWindowNames | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-gui/system-gui-getWindowNames)**
>
> Returns a list of the paths of all windows in the current project, sorted alphabetically.

---

<div class="post-metadata">

**Author:** ![Leor\_Fishman](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Leor\_Fishman](https://forum.inductiveautomation.com/u/Leor_Fishman)\
**Post date:** [February 28, 2025, 3:23pm UTC](https://forum.inductiveautomation.com/t/is-there-an-autofill-treenav-tab-strip-component/103022/8 "2025-02-28T15:23:52Z")

</div>

Ah, it's under system.gui, not system.vision, that's why

---

<div class="post-metadata">

**Author:** ![Leor\_Fishman](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Leor\_Fishman](https://forum.inductiveautomation.com/u/Leor_Fishman)\
**Post date:** [February 28, 2025, 3:24pm UTC](https://forum.inductiveautomation.com/t/is-there-an-autofill-treenav-tab-strip-component/103022/9 "2025-02-28T15:24:07Z")

</div>

yep, was looking under system.vision

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 28, 2025, 3:26pm UTC](https://forum.inductiveautomation.com/t/is-there-an-autofill-treenav-tab-strip-component/103022/10 "2025-02-28T15:26:15Z")

</div>

Bookmark this, with that anchor:

> **[System Functions | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions#functions-by-scope)**
>
> The Ignition scripting API, which is available under the module name system, is full of functions that are useful when designing projects in Ignition. From running database queries, manipulating components, to exporting data, scripting functions can...

---

<div class="post-metadata">

**Author:** ![Leor\_Fishman](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Leor\_Fishman](https://forum.inductiveautomation.com/u/Leor_Fishman)\
**Post date:** [February 28, 2025, 3:27pm UTC](https://forum.inductiveautomation.com/t/is-there-an-autofill-treenav-tab-strip-component/103022/11 "2025-02-28T15:27:50Z")

</div>

Thanks, that'll be useful

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 28, 2025, 3:38pm UTC](https://forum.inductiveautomation.com/t/is-there-an-autofill-treenav-tab-strip-component/103022/12 "2025-02-28T15:38:40Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Leor\_Fishman](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Leor\_Fishman](https://forum.inductiveautomation.com/u/Leor_Fishman)\
**Post date:** [February 28, 2025, 3:41pm UTC](https://forum.inductiveautomation.com/t/is-there-an-autofill-treenav-tab-strip-component/103022/13 "2025-02-28T15:41:08Z")

</div>

That makes sense, given that i imagine i'm not the only one who looked for them in system.vision 🙂

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 28, 2025, 3:42pm UTC](https://forum.inductiveautomation.com/t/is-there-an-autofill-treenav-tab-strip-component/103022/14 "2025-02-28T15:42:09Z")

</div>

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.
