[snippet=]
ProcessExists>MADMan.exe,ProcRes
If>ProcRes=False
Gosub>CleanUp
Gosub>StartMMan
EndIf[/snippet]
The above works excellent in win 7 but after installing on a new Win11 successor, the ProcessExists always returns True. Frustrating, any thoughts?
ProcessExists problem in Windows 11
Moderators: Dorian (MJT support), JRL
- Dorian (MJT support)
- Automation Wizard
- Posts: 1350
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: ProcessExists problem in Windows 11
I cannot replicate in Windows 11 with Macro Scheduler 15.0.20. There appears not to be an issue with ProcessExists in Win11.
The following returns False, True, False, as expected when run in Win11 :
The following returns False, True, False, as expected when run in Win11 :
Code: Select all
KillProcess>Notepad.exe
ProcessExists>Notepad.exe,Proc1
run>Notepad.exe
ProcessExists>Notepad.exe,Proc2
KillProcess>Notepad.exe
ProcessExists>Notepad.exe,Proc3
Yes, we have a Custom Scripting Service. Message me or go here