Forum Discussion
tppegu
15 years agoContributor
No, that won't help. You seem to have misunderstood the purpose of the count property. It simply tells you how many applications are in the TestedApps collection. It does not tell you how many of them are currently running.
You could write a function that checks each of the apps in the collection to see if there is a running process of that name, but for your purposes it is easier to just call CloseAll unconditionally.
Related Content
Recent Discussions
- 2 days agoGane195