Enables Adlib functionality.
AdlibEnable ( "function" [, time] )
Parameters
function | The name of the adlib function to call. |
time | [optional] how often in milliseconds to call the function. Default is 250 ms. |
Return Value
None.
Remarks
Every 250 ms (or time ms) the specified "function" is called--typically to check for unforeseen errors. For example, you could use adlib in a script which causes an error window to pop up unpredictably.
Related
AdlibDisable, Call
Example
AdlibEnable("myadlib")
;...
Exit
Func myadlib()
If WinActive("Error") Then
;...
EndIf
EndFunc