Created
September 14, 2020 15:17
-
-
Save jimdiroffii/369cbabbb4bab7ea4ab39f19c1bafd0f to your computer and use it in GitHub Desktop.
Process monitor for Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Region ;**** Directives created by AutoIt3Wrapper_GUI **** | |
#AutoIt3Wrapper_icon=..\Icon\<iconfile.ico> | |
#AutoIt3Wrapper_outfile=ProcessMonitor.exe | |
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** | |
#Include<file.au3> | |
Dim $date = @MON & @MDAY & @YEAR | |
Dim $ProcessName1 = "<process1name.exe>" | |
Dim $ProcessName2 = "<process2name.exe>" | |
If ProcessExists($ProcessName1) AND ProcessExists($ProcessName2) Then | |
Else | |
ProcessClose("<process1name.exe>") | |
ProcessClose("<process2name.exe>") | |
ProcessWaitClose("<process1name.exe>") | |
Run("<executable>") | |
EndIf | |
Exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment