Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

AdLibRegister

$
0
0
Hello all
  Would somebody be able to tell me why the adlibregister function is necessary in the following script

[ autoit ]      
#include <timers.au3> Global $iLimit = 5 ; idle limit in seconds HotKeySet("{ESC}", "_Quit") AdlibRegister("_CheckIdleTime", 500) While 1 Sleep(20) WEnd Func _CheckIdleTime() If _Timer_GetIdleTime() > $iLimit * 1000 Then MsgBox(16, "Timeout", "You haven't done anything in " & $iLimit & " seconds... Get busy!", 3) EndFunc ;==>_CheckIdleTime Func _Quit() Exit EndFunc ;==>_Quit

much appreciated

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>