Macro to change all part/assembly colors in directory

I've gotten a bunch of parts from a client, and I'm looking for a macro that will trawl through a directory, strip off all the colours from a part, it's bodies, and faces, and then apply a hard coded color (RGB value).  Does anyone know of a macro that'll do this?  Or can any one point me to macros that do the various parts and I can try to integrate them.  Thanks.

SolidworksApi macros