I would like to share with you some useful hunter macros.I hope that you would like them and if you know more interesting macros please share them in the comments.
Uber Pet Macro
If your pet is dead: You will cast Revive Pet. If your pet is not summoned: You will cast Call Pet 1. If your pet is not summoned but is dead you can hold shift to cast Revive Pet. If you do not have a focus: You will focus on your target and your pet will be sent to attack it. If you have a focus: You will clear focus and your pet will be recalled to follow you.
/cast [@pet,dead][mod:shift] Revive Pet
/cast [nopet,nomod] Call Pet 1
/cast Hunter’s Mark
This macro will revive your pet if it’s dead or you hold down shift, call it if it’s dismissed, mend it if it’s alive, feed it if you press alt at the same time and dismiss it if you right click the button.
At the start of an instance or raid, set your focus target to the Main Tank, then use this macro just before pulling to cast Misdirection on him/her without losing your target.
/cast [@focus,help][help][@pet,exists] Misdirection
Toggles between Aspect of the Hawk and Aspect of the Cheetah
If shift-clicked it will cast Aspect of the Pack
Beast Mastery “I-Win button”
This macro requires a Beast Mastery specialization with the Bestial Wrath talent learned. It can also use any items with On-Use effects, such as potions, trinkets, and items with specific enchants, such as Hand-Mounted Pyro Rockets.
#showtooltip Bestial Wrath
/use Potion of Speed
/cast Bestial Wrath