_IEErrorNotify: Specifies whether IE.au3 automatically notifies of Warnings and Errors (to the console)
设定ie.au3时都自动通知警告和错误(到控制台)
#include <IE.au3>
_IEErrorNotify ( [$f_notify = -1] )
例子:检查当前的IEErrorNotify状态, 然后修改。
; *******************************************************
; Example 1 - Check the current status of _IEErrorNotify, turn it off if on, on if off
; *******************************************************
;
#include <IE.au3>
If _IEErrorNotify () Then
MsgBox(0, "_IEErrorNotify Status", "Notification is ON, turning it OFF")
MsgBox(0, "_IEErrorNotify Status", _IEErrorNotify())
_IEErrorNotify (False)
MsgBox(0, "_IEErrorNotify Status", _IEErrorNotify())
Else
MsgBox(0, "_IEErrorNotify Status", "Notification is OFF, turning it ON")
_IEErrorNotify (True)
EndIf