Opt('MustDeclareVars', 1) Local $Programm = "" ;C:\Program Files\Mask Surf\masksurf.exe Local $RunProgramm While 1 $RunProgramm = Run($Programm) if Not @error then sleep(Random(2,3,1)*60) ProcessClose ($RunProgramm) EndIf WEnd