I have a question for which I search a lot but coudent't find any answer for that question. Actually I am making a small program which is like antivirus but not exactly the same actually I am doing this to restrict my younger brother to access those website which are not good 4 him. Also I stop some function in that program of my windows which I don’t want that he access to disturb my setting. But he kills the processes of my program & gets access on all the functions. I run a script to run two processes at the same time so that if he kills one process then 2nd process get active & save the 1st one & vice versa but after doing that I by my self was unable to close that program. I already read about “Hotkeyset” but it only close one process & when it do that the other process which is alive again alive the closed process. I write the above mention code in hurry that’s why some mistakes are there in code. Just give me idea if U have anything related to this in ur mind. even a little help will be much appreciated
While 1
If ProcessExists("Example 1")Then
ProcessClose("Example 1.exe")
EndIf
If ProcessExists"Example 2.exe")Then
ProcessClose("Example 2.exe")
EndIf
Sleep(200)
Wend
Remember in this above mention process 1st process is protecting 2nd process & vice versa so when I kill one of them but it again alive its other process automatically. Give me solution in which it automatically kill both of them @ the same time