Thomas Heller <[EMAIL PROTECTED]> writes:
> It might be faster to use this code; you sabe one COM call in the loop:
> 
> item = ms.Item
> for i in xrange(ms.Count):
>     item(i).Color = 3
> 

Thomas, Thanks for your advice. I tried your suggestion and it does not appear
to make a difference in speed compared with the 1st testing method. Btw, I also
tested with another scripting language called AutoIt and it is slightly faster
than using the 1st testing method. 




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
comtypes-users mailing list
comtypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/comtypes-users

Reply via email to