# system.nav.getCurrentWindow() for popup windows?

**URL:** <https://forum.inductiveautomation.com/t/system-nav-getcurrentwindow-for-popup-windows/105261>\
**Category:** Ignition\
**Tags:** ignition81, scripting, vision\
**Created:** [April 17, 2025, 9:33pm UTC](https://forum.inductiveautomation.com/t/system-nav-getcurrentwindow-for-popup-windows/105261 "2025-04-17T21:33:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spencer\_Lommel1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/spencer_lommel1/32/78679_2.png) [@Spencer\_Lommel1](https://forum.inductiveautomation.com/u/Spencer_Lommel1)\
**Post date:** [April 17, 2025, 9:33pm UTC](https://forum.inductiveautomation.com/t/system-nav-getcurrentwindow-for-popup-windows/105261/1 "2025-04-17T21:33:42Z")

</div>

I need to get the path of the currently opened popup window. I see `system.nav.getCurrentWindow()` only returns the currently opened maximized window but there doesn't seem to be any similar function for popup windows.

Is there any way to get the path of a currently opened popup window?

---

<div class="post-metadata">

**Author:** ![JGJohnson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jgjohnson/32/29582_2.png) [@JGJohnson](https://forum.inductiveautomation.com/u/JGJohnson)\
**Post date:** [April 17, 2025, 9:48pm UTC](https://forum.inductiveautomation.com/t/system-nav-getcurrentwindow-for-popup-windows/105261/2 "2025-04-17T21:48:33Z")

</div>

> **[system.gui.getOpenedWindows | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-gui/system-gui-getOpenWindows)**
>
> Finds all of the currently open windows and returns a tuple of references to them.
