oh tomorrow i,ll get new win 7 64 bit ultimate SP1 :)
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <WinApi.au3>
#include <Memory.au3>
#include <Misc.au3>
#Region ### START Koda GUI section ### Form=
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("lalaker1", 179, 87, 192, 124)
$Label1 = GUICtrlCreateLabel("Waiting S4 Leauge", 0, 64, 175, 17, $SS_CENTER)
$Button1 = GUICtrlCreateButton("Resume All", 8, 24, 163, 33)
$Label2 = GUICtrlCreateLabel("lalaker1 S4 League PID Searcher", 0, 0, 178, 17, BitOR($SS_CENTER,$SS_CENTERIMAGE))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$WAIT = ProcessWait("S4Client.exe"); Waiting For S4 League
_ProcessSuspend(ProcessExists ("XTrap.xt"))
_ProcessSuspend(ProcessExists ("S4Client.exe"))
_ProcessSuspend(ProcessExists ("HGWC.exe"))
Sleep(500);Takes a little break..
$PID = ProcessExists("S4Client.exe"); He found S4Client.exe
GUICtrlSetData($Label1, "Successfully - www.bylalaker1.tk")
MsgBox(0,"lalaker1 S4", "www.bylalaker1.tk - S4 League Pid: " & $PID,0)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_ProcessResume(ProcessExists ("XTrap.xt"))
_ProcessResume(ProcessExists ("S4Client.exe"))
_ProcessResume(ProcessExists ("HGWC.exe"))
Exit
EndSwitch
WEnd
Func _ProcessSuspend($process)
$ai_Handle = DllCall("kernel32.dll", 'int', 'OpenProcess', 'int', 0x1f0fff, 'int', False, 'int', $process)
$i_sucess = DllCall("ntdll.dll","int","NtSuspendProcess","int",$ai_Handle[0])
DllCall('kernel32.dll', 'ptr', 'CloseHandle', 'ptr', $ai_Handle)
EndFunc
Func _ProcessResume($process)
$ai_Handle = DllCall("kernel32.dll", 'int', 'OpenProcess', 'int', 0x1f0fff, 'int', False, 'int', $process)
$i_sucess = DllCall("ntdll.dll","int","NtResumeProcess","int",$ai_Handle[0])
DllCall('kernel32.dll', 'ptr', 'CloseHandle', 'ptr', $ai_Handle)
EndFunc