Hi,
Is it possible to have the ProcessExists> to tell me how many processes that meet the criteria. Today its only a true or false...
ProcessExists> Multiple processes
Moderators: Dorian (MJT support), JRL
- Grovkillen
- Automation Wizard
- Posts: 1023
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Bräcke, Sweden
- Contact:
- Marcus Tettmar
- Site Admin
- Posts: 7380
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: ProcessExists> Multiple processes
I will add this to the wish list.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Grovkillen
- Automation Wizard
- Posts: 1023
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Bräcke, Sweden
- Contact:
Re: ProcessExists> Multiple processes
Or better yet, give me an array with all process names and their PID's that meet the criteria. And possibly their status (running/none responding etc.).
- CyberCitizen
- Automation Wizard
- Posts: 721
- Joined: Sun Jun 20, 2004 7:06 am
- Location: Adelaide, South Australia
Re: ProcessExists> Multiple processes
What about something like this?
tasklist | Find "svchost"
You can export that to a file then read to an array and use array count.
Not the best way etc, but should work.
tasklist | Find "svchost"
You can export that to a file then read to an array and use array count.
Not the best way etc, but should work.
FIREFIGHTER