for(%x=0;%x<ClientGroup.getCount();%x++){ %cl = ClientGroup.getObject(%x); //Do stuff to %cl, like: //%cl.DoSomething();}