Okay. Halting this because of a problem.
Mend Pet/Revive on the same modifier is a good idea.
Call Pet X is not.
The reason is that if your pet goes out of range, Blizzard doesn’t know if your pet is dead or alive and out of range. All it knows is that you have no pet bar (what it’s actually checking for).
You can get stuck sending a Call Pet when you should be sending a Revive Pet.
My recommendation would be to put the Pet Follow part in an “Oh, Crap” button that will recall your pet if you accidentally send it into combat by mistake (a button that does that has saved my butt a few times). Then put Mend/Revive udner one modifier, Call Pet X under a second modifier, and Feed Pet as the default.
Also, setting it up your way, you cannot get the auto-icon thing to work well as Pet Follow is not a spell with an icon. It’s a direct pet command.
I’m writing it this way, use it or not. Up to you.
Gimme a sec to get it down.
“Oh, Crap” macro
#showtooltip Fetch
/cleartarget
/stopattack
/petpassive
/petstay [mod]
/petfollow [nomod]
/stopcasting
/stopcasting
/cast [nomod]Fetch
This assumes you’ve picked up the “Fetch” command from the Legion Hunter Order Hall. Worth a detour in your play to do so if you haven’t so far.
Pet Care AIO
#showtooltip
/cast [@pet,dead][@pet,noexists,mod]Revive Pet;[@pet,noexists,nomod]Call Pet 1;[@pet,nodead,exists,combat]Mend Pet;[@pet,nodead,exists,nocombat]Feed Pet
/use [@pet,nodead,exists,nocombat]Insert Food Name Here
Dead pet (still have pet bar, HP = 0) or no pet and a mod key held you will cast Revive Pet
No pet bar and no modifier key held, you will call pet #1.
Pet bar, pet alive, in combat, you will cast Mend Pet.
Pet bar, pet alive, not in combat, you will cast Feed Pet and then “use” the food that you named.
I have not tested this. I’m not in game at the moment, but except for the feeding the pet part, this is identical to what I use.