Here's one I use to grind medic. Fill your inventory with stimpacks and go to a busy cantina. Look for an entertainer with a low action bar and select them. Start the macro!
/healDamage
/pause XX;
/macro Y;
Where XX is the number of seconds to allow for you to be able to heal more damage.
Where Y is the macro name you saved it as.
I also add /dump in a separate macro to make it easy to halt.