HotKeySet ("p","_Pause")
Global $stSettings[1] = [False]
Func _Pause ()
$stSettings[0] = Not ($stSettings[0])
While $stSettings[0]
Sleep (100)
WEnd
EndFunc
Dim $iCoord [2]=['500','500'] ; x y
$iDelay=500
$sKey='f'
While 1
Send($sKey)
Sleep($iDelay)
MouseClick("left",$iCoord[0],$iCoord[1])
Sleep($iDelay)
Send($sKey)
Sleep($iDelay)
WEnd