Closing Microsoft inetrnet Explorer

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
asheffer
Newbie
Posts: 18
Joined: Mon Jul 21, 2003 7:57 pm

Closing Microsoft inetrnet Explorer

Post by asheffer » Mon Jul 21, 2003 8:04 pm

Can I close Microsoft internet Explorer when the web page changes. I am new and I tried to use the waitwindow changed command but was unsuccessful.

Thanks
Al Sheffer

armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Post by armsys » Tue Jul 22, 2003 2:20 am

Hi Asheffer,

Please try:
Press ALT
Wait>0.1
Press F4
Release ALT
Wait>0.2
Happy scripting.

asheffer
Newbie
Posts: 18
Joined: Mon Jul 21, 2003 7:57 pm

Closing Microsoft inetrnet Explorer

Post by asheffer » Tue Jul 22, 2003 1:15 pm

Thank you for the response but I dont think that I was very clear with what my problem is.
I can close the window but I cant get the event to trigger by a change in the web page or URL.

Thanks
Al Sheffer

Answer to your problem

Closing explorer window on an event

Post by Answer to your problem » Tue Jul 22, 2003 1:28 pm

Hi,

I had a similar task where I wanted to close explorer if a success
window appeared.

If you write a seperate macro and use the advanced options in
Run When you can select this macro to run when a specific window
appears. Have it do the Alt F4 and you should be OK

Lumumba

Post by Lumumba » Tue Jul 22, 2003 2:43 pm

Please check the Sripts & Tips Page at MJTNet.

Think someone solved that issue, by checking the upper right progress image ("explorer planet") in the internet explorer, which changes when loading of the relevant page has been completed.

asheffer
Newbie
Posts: 18
Joined: Mon Jul 21, 2003 7:57 pm

Post by asheffer » Fri Aug 08, 2003 7:07 pm

Thanks for the Help! I got it working by using Java Script.

Thanks
Al Sheffer

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts