quote:
Originally posted by t_pass6
thanks, but i get an error with the line var Contactnum = Enumerate(ChatWnd.Contacts), anyone sees why?
If you're only interested in the number of contacts, you don't need to create the enumerator object. You can use the Contacts.Count property.
Contactnum = ChatWnd.Contacts.Count