# Windows open in the designer are not really \*open\*

**URL:** <https://forum.inductiveautomation.com/t/windows-open-in-the-designer-are-not-really-open/2580>\
**Category:** Ignition\
**Created:** [January 28, 2011, 9:11pm UTC](https://forum.inductiveautomation.com/t/windows-open-in-the-designer-are-not-really-open/2580 "2011-01-28T21:11:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://forum.inductiveautomation.com/u/Robert)\
**Post date:** [January 28, 2011, 9:11pm UTC](https://forum.inductiveautomation.com/t/windows-open-in-the-designer-are-not-really-open/2580/1 "2011-01-28T21:11:11Z")

</div>

system.gui.getWindow(‘window name’) fails in the designer.

This is really annoying because a have a number of scripts that run when/while a window in opened that are now causing me grief in when I try to edit then in the designer.

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [January 28, 2011, 10:15pm UTC](https://forum.inductiveautomation.com/t/windows-open-in-the-designer-are-not-really-open/2580/2 "2011-01-28T22:15:01Z")

</div>

I also noticed this. Also affects system.gui.getOpenedWindows()

---

<div class="post-metadata">

**Author:** ![Robert.McKenzie](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.mckenzie/32/4134_2.png) [@Robert.McKenzie](https://forum.inductiveautomation.com/u/Robert.McKenzie)\
**Post date:** [January 28, 2011, 10:35pm UTC](https://forum.inductiveautomation.com/t/windows-open-in-the-designer-are-not-really-open/2580/3 "2011-01-28T22:35:52Z")

</div>

We are looking into this now, I know it’s annoying but it will only effect things in the designer. This is happening because of the changes made to the window layout in the designer. You client will still behave normally.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [January 31, 2011, 3:20am UTC](https://forum.inductiveautomation.com/t/windows-open-in-the-designer-are-not-really-open/2580/4 "2011-01-31T03:20:11Z")

</div>

This has been fixed for 7.2.2. The latest 7.2.2 beta that is up has the fix.

---

<div class="post-metadata">

**Author:** ![chasondeshotel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/chasondeshotel/32/20032_2.png) [@chasondeshotel](https://forum.inductiveautomation.com/u/chasondeshotel)\
**Post date:** [October 25, 2018, 5:44am UTC](https://forum.inductiveautomation.com/t/windows-open-in-the-designer-are-not-really-open/2580/5 "2018-10-25T05:44:43Z")

</div>

I’m having this problem in 7.9.4.

I have a window open in designer but running this code example from the docs tells me there are 0 windows open

```auto
windows = system.gui.getOpenedWindowNames()
print 'There are %d windows open' % len(windows)

```

edit: I was eventually able to get .getWindow() to work (typo) However, after a bit of fiddling I was only ever able to get .getOpenedWindowNames() to work from a vision client, I could never get it to work in the designer
