Posts: 6,052
Threads: 429
Joined: Oct 2010
10-28-2011, 10:48
(This post was last modified: 10-28-2011, 10:50 by d0h!.)
Code:
Loop {
Process, Exist, Origin.exe
NewPID = %ErrorLevel%
IfWinExist, ahk_pid %NewPID%
{
IfWinExist, Battlefield
{
Sleep 1000
run, kill.exe /f Origin.exe
}
}
Process, Exist, OriginLegacyCLI.exe
NewPID = %ErrorLevel%
IfWinExist, ahk_pid %NewPID%
{
run, kill /f OriginLegacyCLI.exe
}
Process, Exist, OriginClientService.exe
NewPID = %ErrorLevel%
IfWinExist, ahk_pid %NewPID%
{
run, kill /f OriginClientService.exe
}
}
Posts: 3,598
Threads: 265
Joined: Oct 2010
Reputation:
76
Why would I want to kill Origin?
Posts: 6,052
Threads: 429
Joined: Oct 2010
resources & scanning your hdd
Posts: 6,052
Threads: 429
Joined: Oct 2010
its doesnt search for a file, it kills the process. so i have no idea if the russian version has a different name