ProcessExists problem in Windows 11

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
clutch
Newbie
Posts: 1
Joined: Wed Jul 06, 2022 10:38 am

ProcessExists problem in Windows 11

Post by clutch » Wed Jul 06, 2022 10:51 am

[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?

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1106
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: ProcessExists problem in Windows 11

Post by Dorian (MJT support) » Wed Jul 06, 2022 11:42 am

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 :

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

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts