|
本帖最后由 shang1018 于 2009-7-12 07:17 编辑
想编一个监视网站并在网站打不开时能发一封Email给相关用户的程序,
#include-once
#include <IE.au3>
#include <SmtpMailer.au3>
$oIE = _IECreate ("www.163.com",0,0)
但就是以上几行代码,在执行中就报错,其它的还没有开始写,错误代码如下:
>运行:(3.3.0.0):D:\autoit3\autoit3.exe "E:\test1\Watch.au3"
--> IE.au3 V2.4-0 Warning from function internal function __IEIsObjType, Cannot register internal error handler, cannot trap COM errors (Use _IEErrorHandlerRegister() to register a user error handler)
--> IE.au3 V2.4-0 Warning from function internal function __IEIsObjType, Cannot register internal error handler, cannot trap COM errors (Use _IEErrorHandlerRegister() to register a user error handler)
--> IE.au3 V2.4-0 Warning from function _IELoadWait, Cannot register internal error handler, cannot trap COM errors (Use _IEErrorHandlerRegister() to register a user error handler)
+>09:53:28 AutoIT3.exe 完成:[CODE]:0
请高手指教, 谢谢了! |
|