[thelist] check for existence of window by name?

Hardacker, Andrew Andrew.Hardacker at Compuware.com
Mon Mar 25 11:16:00 CST 2002

What I'm trying to figure out is whether something like 'if
window.name == QT' will work... only problem is I think that
only refers to the current window, and I just want to know if it
is open at all.

Scott, have you tried checking the window's "closed" property?

if (myWindow.closed)
  // open a new instance of myWindow
  // update myWindow

Andy Hardacker

The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it.

More information about the thelist mailing list