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

Problem with Pause script on start

$
0
0
Hi i writed simple script and i can't find how to start script stoped :(

[ 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

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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