bills Posted June 27, 2007 Posted June 27, 2007 Hello. I want my script to close all IE windows except the ones named "Trafiksidan" and "Hotmail". How do I do that? //Bill
tAKTelapis Posted June 28, 2007 Posted June 28, 2007 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"
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now