Batch update macro's DLL references

We use a whole lot of .swp macros in our daily work.  We just did a clean install of SW2012, and now none of the macros work.  I know how to fix for each individual macro (edit the macro, un-check missing references to 2010/11 libraries and check the corresponding 2012 libraries), but was wondering if anyone had a trick for batch-updating the lot of 'em at once.  We have about 40 or 50 to update.

SolidworksApi macros