Jump to content
Sign in to follow this  
vcrocca

Is It possible

Recommended Posts

vcrocca

I do not see an easy way to do this in the manuals or after searching this forum.

I am automating the login to a web site so I can measure the per page load time.

This page spawns numerous pages after logging in. These pages are usually frames and subframes.

I would like to be able to close all Internet Explorer Windows without having to attach to each window.

Any ideas would be appreciated.

Thanks

Share this post


Link to post
Share on other sites
Swift

Or:

Do
ProcessClose("Iexplore.exe")
Until Not ProcessExists("Iexplore.exe")

Share this post


Link to post
Share on other sites
monoceres

Or:

Do
 ProcessClose("Iexplore.exe")
 Until Not ProcessExists("Iexplore.exe")
Wow Swift, I'm impressed, you totaly beated the crap out of my script :D

Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites
danielkza

Wow Swift, I'm impressed, you totaly beated the crap out of my script :D

Actually,yours beats his: If the process doesn't exists,your won't try to close,but his will.

Not pointless at all

Share this post


Link to post
Share on other sites
Swift

It doesn't matter, it wont do anything if it doesn't exist...how bout this then?

Do
If ProcessExists("iexplore.exe") Then ProcessClose("Iexplore.exe")
Until Not ProcessExists("Iexplore.exe")

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×