Any books on writing Sw macros?

Can anyone recommend a good book or wensite on writings Sw macros?  I'm finding that I do a lot of repetitive tasks that I'd like to just write macros for, but have no idea where to start.  Plus I feel like an imposition asking other forum users to help me be more productive at work.  Thanks!

SolidworksApi macros