Hi i writed simple script and i can't find how to start script stoped ![:(]()
![:(](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/sad.png)
[ autoit ]
MsgBox ( 4096, "xxx" ) SoundPlay(@WindowsDir & "\media\Windows Ding.wav", 0) Global $Paused HotKeySet("{PAUSE}", "TogglePause") While 1=1 ControlSend("xxx", "", "", "{1 DOWN}") Sleep(3000) WEnd Func TogglePause() SoundPlay(@WindowsDir & "\media\Heritage\Windows Error.wav", 0) $Paused = Not $Paused While $Paused Sleep(0) ToolTip('Script is "Paused"', 0, 0) WEnd ToolTip("") EndFunc ;==>TogglePause