Groups | Blog | Home
all groups > inetserver asp general > august 2005 >

inetserver asp general : checking for window existance


Lambuz
8/30/2005 5:52:24 AM
Is there any way to check the existance of a window by the name ?

I'm using this code:
window.open("http://www.google.com",'targetWin1')

If I open a window using previous code without getting immediatly
return value of open method, can I get it in a second moment ? For
example using the value of param sName of open method ?

regards
Lambuz
8/30/2005 6:12:47 AM
Thank you for your unusefull answer.

I've tried to make a cross posting on 14 forum, but Google News
interface don't allow.

You can cross post only on 5 forum
Ray Costanzo [MVP]
8/30/2005 9:03:33 AM
http://www.aspfaq.com/5004

Ray at work

[quoted text, click to view]

Tom Kaminski [MVP]
8/30/2005 9:59:52 AM
[quoted text, click to view]


You probably could have cut out the ASP forums ...

Bob Barrows [MVP]
8/30/2005 10:01:24 AM
[quoted text, click to view]

If you were interested in getting help rather than pissing people off, then
you would realize that it was a useful answer...
[quoted text, click to view]

What does that have to do with the point of the article Ray pointed you at?
Its point was that you should NOT cp so many groups.

[quoted text, click to view]

Which is MORE than enough. Especially considering that you included
off-topic groups in your massive cp. This question has nothing to do with
asp (I'm replying from .inetserver.asp.general).

Given your blatant refusal to comply with netiquette, I am hesitant to
provide an answer to your question. However ...
The answer is "no". The object returned by the window.open method is only
available to the code that called it. You would need to use API methods
which are not available to browser scripts to enumerate all open windows on
a machine and grab a handle to one of the open windows.

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

AddThis Social Bookmark Button