Systemutil.Run "iexplore.exe","www.google.com"
wait(2)
Set oDesc = Description.Create
oDesc("Micclass").Value = "Browser"
Set oBrowser = Desktop.ChildObjects(oDesc)
strBrowserName = oBrowser(0).GetROProperty("title")
msgbox strBrowserName
Browser("name:="&strBrowserName).Navigate "www.gmail.com"
Browser("CreationTime:=0").OpenNewTab()
No comments:
Post a Comment