Jump to content

Recommended Posts

Posted

Hello.

I want my script to close all IE windows except the ones named "Trafiksidan" and "Hotmail".

How do I do that?

//Bill

Posted

Hmm

WinWaitActive()

can detect a title of a particular window, and act on it, ideally you want to wait for any IE window, then get its full title:

WinGetTitle()

Then check that full title with a list of titles

If .. Then !

And close them:

WinClose()

Hardest part of it all, is going to be waiting for an active window based on the latter half of a window name, IE allways adds "Microsoft Internet Explorer" and firefox "Mozilla Firefox"

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
×
×
  • Create New...