Global $Paused
HotKeySet("{PAUSE}", "_Pause")
HotKeySet("{ESC}", "_Exit")
HotKeySet("{F3}", "_Start")
While 1
Sleep(100)
WEnd
Func _Pause()
$Paused = NOT $Paused
While $Paused
sleep(100)
;ToolTip('Script is "Paused"',0,0)
WEnd
ToolTip("")
EndFunc
Func _Exit()
Exit 0
EndFunc
Func _Start()
While 1
Send("{F6}")
Sleep(100)
Send("{UP}")
Sleep(100)
Send("{ENTER}")
Sleep(100)
WEnd
EndFunc