I tried to do something similar with creating a companion macro, but I realized there are already a bunch of great macros that can work as a companion macro. Dev's macros, PeteSampras's bot.mac the 40oz version, ModBot, RaidDruid all work as great companions.
I run the bot.mac with mq2bot doing...