Script to replicate Object names into Style Layers

 From:  AlexPolo
8428.1 
Hi All,

Does anybody know of a script which auto replicates Object Names into Style Layers - colour assignment is not important.

thanks
Alex.