GetProcessIDs doesn't return anything if zero IDs are found.

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Grovkillen
Automation Wizard
Posts: 1009
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

GetProcessIDs doesn't return anything if zero IDs are found.

Post by Grovkillen » Mon May 22, 2023 6:13 am

Code: Select all

GetProcessIDs>test.exe,TEST_check
//TEST_check isn't set and TEST_check_count isn't possible to use if 0 processes are active.
GetProcessIDs>explorer.exe,TEST_check
Please make the command return a zero length array instead of nothing.
Let>ME=%Script%

Running: 15.0.24
version history

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

Re: GetProcessIDs doesn't return anything if zero IDs are found.

Post by Dorian (MJT support) » Mon May 22, 2023 8:24 am

Have passed this on. :)
Yes, we have a Custom Scripting Service. Message me or go here

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