Skip to content

Instantly share code, notes, and snippets.

@crazy4groovy
Forked from ddhahn/KillProcess.au3
Created September 5, 2013 17:52
Show Gist options
  • Save crazy4groovy/6453671 to your computer and use it in GitHub Desktop.
Save crazy4groovy/6453671 to your computer and use it in GitHub Desktop.
#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