SystemUtil.Run "iexplore"
Browser("micClass:=Browser").Navigate "http://baidu.com/"
Browser("micClass:=Browser").OpenNewTab
' Get the HWND property of the browser with a new tab,用spy去看看新tabBrowser的属性,比如title, name 或者 openurl等等,选择你可以描述的属性。。。
HWND = Browser("title:=New Tab - Windows Internet Explorer").GetROProperty("hwnd")
' Operate objects within the activated tab
Browser("micclass:=Browser","hwnd:=" & HWND).Navigate "www.google.com"作者: Admin_suma 时间: 2013-12-1 16:24 回复 7#joykao