07-11-2008, 06:54 PM
Is there a command to close all the potentially open browsers before you begin your script run?
|
Web
|
|
07-11-2008, 06:54 PM
Is there a command to close all the potentially open browsers before you begin your script run?
Hi Anna,
You can use the following code. Code: Set b=Description.Create
b("micclass").value="Browser"
Set obj=Desktop.ChildObjects(b)
msgbox obj.count
For i=0 to obj.count-1
c=obj(i).getroproperty("name")
msgbox (c)
obj(i).Close
Next
Thanks. It works. Where did you get that?
|
|
« Next Oldest | Next Newest »
|