;CheckForProcess ;By jgpaiva ;date: January 2007 ;Function: check for a process's existence and, if the process isn't running, run the first argument. #NoTrayIcon If 0 <> 3 MsgBox, error: incorrect number of commandline parameters`n`n`nCommand line usage: CheckForProcess.exe [ProcessToFind] [RunIfFound] [RunIfNotFound] Process,Exist,%1% If ErrorLevel = 0 Run, %3% else Run, %2% return