#requireadmin
#include<IE.au3>
$oIE = _IECreate("www.google.com", 0, 1, 0, 1)
它成功地打开了一个新的Internet Explorer窗口,并导航到www.google.com。
#include<IE.au3>
$oIE = _IECreate("www.google.com", 0, 1, 0, 1)
它只会打开窗口,而不会导航到URL。大约15秒后,它崩溃了:
---------------------------
AutoIt Error
---------------------------
Line 272 (File "\\intra.saaq.net\sb\du\du02\gar25\Desktop\outil_outlook\sources\Include\IE.au3"):
$oObject.navigate($sUrl)
$oObject^ ERROR
Error: The requested action with this object has failed.
---------------------------
OK
---------------------------
有什么办法吗?