Macro for BOM Hiperlinks and Thumbnails

Someone has a macro that can put hiperlinks (pdf) in BOM and thumbnails, I'm trying to adapt more without success

SolidworksApi/macros