[thelist] How to get the handle of the window using the name

Aryakumar K George akgeorge at snb.psi.soft.net
Tue Nov 27 02:56:59 CST 2001


Hi,
Thank you very much for the information, but the solution you have given is
after getting the handle. At the time of getting the handle script 'OPEN'
will open the window if it doesn't exists. I want to check whether window
exists before this itself, ie: before actually doing the script 'OPEN'.

Thanks and expecting to hear from u

Regards
A K George

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Peter-Paul Koch
Sent: Tuesday, November 27, 2001 2:17 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] How to get the handle of the window using the
name





>From: Aryakumar K George var win=open('','<Window name>')
>
>but this piece of code opens the window to get the handle if it is not
>available. But i do not want to open the window if it is not exists. Now i
>want the help from you buddies is how can i check whether the window with
>that name exists?

if (win && !win.closed)

ppk

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list