# "system.gui.getOpenedWindowNames"

**URL:** <https://forum.inductiveautomation.com/t/system-gui-getopenedwindownames/31547>\
**Category:** Ignition\
**Tags:** ignition79, ignition80, vision, scripting\
**Created:** [January 23, 2020, 11:17am UTC](https://forum.inductiveautomation.com/t/system-gui-getopenedwindownames/31547 "2020-01-23T11:17:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![giulio.comito](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/giulio.comito/32/12671_2.png) [@giulio.comito](https://forum.inductiveautomation.com/u/giulio.comito)\
**Post date:** [January 23, 2020, 11:17am UTC](https://forum.inductiveautomation.com/t/system-gui-getopenedwindownames/31547/1 "2020-01-23T11:17:28Z")

</div>

Hello everybody! I’d like to know why I see an empty tuple by running the following code:

 ![Cattura](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/4a54c939e51bbdc7f879ca1704cbfeb3a9520dcb.png) .  
(I want to clarify that I ran the code with some windows open).  
Thank you all!

---

<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:** [January 23, 2020, 6:02pm UTC](https://forum.inductiveautomation.com/t/system-gui-getopenedwindownames/31547/2 "2020-01-23T18:02:29Z")

</div>

`getOpenedWindows` returns an empty list in the designer. Is it still empty in an actual client?

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [December 8, 2021, 9:07pm UTC](https://forum.inductiveautomation.com/t/system-gui-getopenedwindownames/31547/3 "2021-12-08T21:07:38Z")

</div>

@paul-griffith how would I run that in the actual client? the client does not seem to have a scripting console

---

<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:** [December 8, 2021, 9:14pm UTC](https://forum.inductiveautomation.com/t/system-gui-getopenedwindownames/31547/4 "2021-12-08T21:14:18Z")

</div>

Put the script in a button’s `actionPerformed` and `print` the result. Then open the client diagnostics (Ctrl + Shift + F7, if the menubar is disabled) and check the console.
