檢查指定進程是否存在.
ProcessExists ( "進程" )
If ProcessExists("notepad.exe") Then MsgBox(0, "范例", "筆記本程序正在運行.") EndIf