autoit3 ie.au3 函数之——_IEErrorNotify
_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
總結
以上是生活随笔為你收集整理的autoit3 ie.au3 函数之——_IEErrorNotify的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: PUN2
- 下一篇: 泰坦尼克号分析是否获救