Specifies whether IE.au3 automatically notifies of Warnings and Errors (to the console)
#include <IE.au3>
_IEErrorNotify ( [$f_notify = -1] )
Parameters
$f_notify | Optional: specifies whether notification should be on or off -1 = (Default) return current setting True = Turn On False = Turn Off |
Return Value
Success: | If $f_notify = -1, returns the current notification setting, else returns 1 |
Failure: | Returns 0 |
Remarks
IE.au3 writes diagnostic information, warnings and errors to the console by default. This information can readily be seen when using the SciTe editor to run your scripts.
Related
None.
Example
; *******************************************************
; Example 1 - Check the current status of _IEErrorNotif, turn it off if on, on if off
; *******************************************************
;
#include <IE.au3>
If _IEErrorNotify () Then
MsgBox(0, "_IEErrorNotify Status", "Notification is ON, turning it OFF")
_IEErrorNotify (1)
Else
MsgBox(0, "_IEErrorNotify Status", "Notification is OFF, turning it ON")
_IEErrorNotify (0)
EndIf