What function can I use to pause a script in AutoIt?
I know I can use sleep like this:
Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(100)
ToolTip('Script is "Paused"',0,0)
WEnd
ToolTip("")
EndFunc
But is there a function for pause which has been implemented in AutoIt?
Sleep already is the "pause"-function in AutoIt.
The only other method to pause the script is to click the trayicon in debug mode.