Hi All,
I am a begginer in auto it. I am trying to build simple gui that will show me if for example notepad.exe process is currently running on the system. I have built something like this, but when I execute it shows me message boxes, but I want the results to show in gui. If you can help me start with this.
Thanks
#include <MsgBoxConstants.au3>
#include <GUIConstantsEx.au3>
ActiveProcess()
Func ActiveProcess()
GUICreate("Act")
ProcessExists("wuauclt.exe")
If ProcessExists("wuauclt.exe") Then
MsgBox($MB_SYSTEMMODAL, "", "Windows Upates are running")
Else
MsgBox($MB_SYSTEMMODAL, "", "Windows Updates are not running")
EndIf
;Notepad
ProcessExists("notepad.exe")
If ProcessExists("notepad.exe") Then
MsgBox($MB_SYSTEMMODAL, "", "Notepad is running")
ElseMsgBox($MB_SYSTEMMODAL, "", "Notepad is not running")EndIf