Thread: Recursion
View Single Post
Quote:
Originally Posted by akelley View Post
Is it possible to handle selected groups and single actions together at the same time (see example)? I seem to be having trouble determining if an item is an action group or a single task.
The ProcessGroup() function above should already work with single actions.

If you need to distinguish between groups and single tasks you can branch on a condition like:
Code:
if number of tasks of oItem > 0