Jump to content

viky909

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by viky909

  1. Hi there , at first thanks for this awesome forum which always help me to find a solution ,but this is the first time I failed to find one I use the following script to kill a game xxxxx.exe #RequireAdmin ; seach for all running xxxx.exe $plist = ProcessList("xxxx.exe") If $plist[0][0] <> 0 Then ;use loop to kill every one for $i = 1 to $plist[0][0] $a = ProcessClose($plist[$i][1]) MsgBox(0,"",$a) next EndIf I think the script is right and it works on small programs like calc.exe (Calculator) I always get the erroe = 1 (OpenProcess failed) what does this mean ?! xD note : game requires Admin to start Thanks with love <3
  2. Nice one , thanks for sharing
×
×
  • Create New...