06-20-2006, 06:45 PM
I have a few dialog boxes I need to close with similar names while the main macro is running. Correct me if I understood this please
For example, I wanted to close anything with the word "Microsoft Internet Explorer". So I made a function with a triger and used "$Microsoft Internet Explorer$" without the quotes in the Window name. I am using clo command to close the window. If I have 3 windows, how do I close all 3? Can you use regular expressions on clo command?
I am trying not to make so many functions and hopefully only use one.
For example, I wanted to close anything with the word "Microsoft Internet Explorer". So I made a function with a triger and used "$Microsoft Internet Explorer$" without the quotes in the Window name. I am using clo command to close the window. If I have 3 windows, how do I close all 3? Can you use regular expressions on clo command?
I am trying not to make so many functions and hopefully only use one.