The script I am killing has build in pause.  This one works although needs to be compiled. #include <Date.au3> $t = _NowTime(3) _KillOtherScript() MsgBox(0,"Testing Run Once",$t & " " & @AutoItPID ,60) func _KillOtherScript() Local $list = ProcessList() For $i = 1 To $list[0][0] If $list[$i][0] = @ScriptName Then If $list[$i][1]<> @AutoItPID Then ; Kill process $r=ProcessClose($list[$i][1]) EndIf EndIf Next EndFunc