How can i stop the message box if process already detected...? The purpose of the script is to detect the listed process. Notepad.exe run (once only) - message box with notepad.exe name on it shows. I closed the message box - message with notepad.exe name on it should not show again (because it should be detected once). Unless notepad.exe run again (second instance) then message box should show. #include <array.au3> Local $ProcessNameList[3] $ProcessNameList[0] = "CALC.EXE" $Proces