$ProcessName = "Notepad.exe" If ProcessExists($ProcessName) Then MsgBox(0,"Running",$ProcessName & " is running.") Else MsgBox(0,"Not Running",$ProcessName & " is not running.") EndIf