This macro got it's name on the WoW Hunter Forums a while back, basically this is just a one button pet control macro. This macro only requires that you have the spells [Only registered and activated users can see links. ] & [Only registered and activated users can see links. ], or simply, a Hunter's Pet. Also, this macro will use your player's Focus marker.
How the Macro works... If your pet is dead: You will cast [Only registered and activated users can see links. ]. If your pet is not summoned: You will cast [Only registered and activated users can see links. ]. If you are not focused: You will focus on your target and your pet will be sent to attack it. If you are focused: You will clear focus and your pet will be recalled to follow you.
In less technical terms... If your pet is dead or missing: Your pet will be revived or summoned. If your pet is not attacking: Your pet will attack your target. If your pet is attacking: Your pet will stop attacking and return to your side. Hunter's Mark will be cast on the target
/cast [nopet] Call Pet; [target=pet, dead] Revive Pet