Greetings,

If there are no other browsers running when the dialog appears then you
can safely do the following directly after whatever it is that will
cause the popup to appear. Now, I am assuming you've used the web
connection against this second window and that's the way to script it
(call into support if you are unclear on what I am saying here)

But here goes - open Google - the script will keep running until you
open another instance of IE (and it will have connected to the newly
launched instance of IE.

Sub test()

Connect "Google", stWeb1

Click "Images<A>@Google"

Do

    On Error Resume Next

    Wait

    Connect 2, stWeb1

    Debug.Print Web1.IE.document.Title ' Will cause an error if page
isn't loaded, which we want.

 i = i + 1

 If i > 20 Then Exit Do

Loop Until Err = 0

End Sub

 

And of course, connect back to original window once the popup has been
retired.

 

Regards,

Thom

 

 

Thom C. Blackwell

Product Manager

Boston Software Systems

(866) 653-5105 ex 807

www.bossoft.com <http://www.bossoft.com/> 

 

Visit us at McKesson Insight Booth 407

 

Sign up for my weekly webinar!
<http://www.bostonworkstation.com/customer_center/special_events.aspx> 

 

LEGAL NOTICE Unless expressly stated otherwise, this message is
confidential and may be privileged. It is intended for the addressee(s)
only. Access to this E-mail by anyone else is unauthorized. If you are
not an addressee, any disclosure or copying of the contents of this
E-mail or any action taken (or not taken) in reliance on it is
unauthorized and may be unlawful. If you are not an addressee, please
inform the sender immediately, then delete this message and empty from
your trash.

 

From: [email protected] [mailto:[email protected]] 
Sent: Wednesday, September 08, 2010 2:09 PM
To: Talk
Subject: [talkbws] Connecting to web issue

 

I am writing a web script for setting users up with Insurance website
access to trace claims. I am running into an issue with one of the
insurances as they produce a popup window with the same TitleBar info.
How do I differentiate the two so I am sending info to the correct page?

 

 

 

Garrett S. O'Sullivan

Project Assistant

Regional Business Office

1235 NE 47th Avenue, Suite 110

Portland, Oregon 97213

Phone:          503.215.4462

Fax:            503.215.4343

Pager:          503.920.4560

[email protected]
<mailto:[email protected]> 

 

 

 

________________________________

This message is intended for the sole use of the addressee, and may
contain information that is privileged, confidential and exempt from
disclosure under applicable law. If you are not the addressee you are
hereby notified that you may not use, copy, disclose, or distribute to
anyone the message or any information contained in the message. If you
have received this message in error, please immediately advise the
sender by reply email and delete this message.

---  To post a message to this list, send mail to: [email protected]
You are currently subscribed as: [email protected]
Unsubscribe in the customer center on our website:
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk
.aspx   

---  To post a message to this list, send mail to: [email protected]    You are 
currently subscribed as: [email protected]    Unsubscribe in the 
customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx   

Reply via email to