Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Closing Multiple IE Windows
#1
I work with a few Internet Explorer windows simultaneously and is having difficulty time activing and closing them. I am trying to save time hard coding each window name.

Example of window names:

1. Yahoo! - Windows Internet Explorer provided by Yahoo!
2. MSN.com - Windows Internet Explorer provided by Yahoo!
3. Google - Windows Internet Explorer provided by Yahoo!

I need to be able to focus on each window and run some commands then close it. The problem is, each window, everytime I click on a link, it changes the window name except the part "Windows Internet Explorer provided by Yahoo!"

Is there a way I can wait for these windows to be visible and active then focus on it so I can do the things that I need to do then close them by simply using "Windows Internet Explorer provided by Yahoo!"

Thanks so much
Denise
#2
Macro
Code:
Copy      Help
ARRAY(int) a; int i
win "Windows Internet Explorer" "IEFrame" "" 0 0 0 a
for i 0 a.len
,clo a[i]
,
#3
I don't need to use wildcards? like $ or *
#4
Only if flag 1.
#5
I am also receiving an error message afte copying and pasting your example above. "Error in Macro: too many parts." and is highlight "a"
#6
you need newer qm


Forum Jump:


Users browsing this thread: 1 Guest(s)