Created
February 3, 2013 01:12
-
-
Save ddhahn/4700055 to your computer and use it in GitHub Desktop.
Kills all processes matching a name.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Region ;**** Directives created by AutoIt3Wrapper_GUI **** | |
#AutoIt3Wrapper_Icon=..\Users\ddhahn\Downloads\scb.ico | |
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker | |
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** | |
;Kill Outlooks script | |
$pid = processexists("outlook.exe") | |
while $pid <> 0 | |
MsgBox(1,"Outlook Killed","Outlook.exe (" & $pid & ") has been killed") | |
ProcessClose($pid) | |
$pid = processexists("outlook.exe") | |
WEnd | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment