Hunter Tracking Macro

#showtooltip
/stopmacro [noexists]
/run for i=1,GetNumTrackingTypes() do local n, t, a, c = GetTrackingInfo(i); if string.find(n, UnitCreatureType(“target”)) then if t~=GetTrackingTexture(i) then SetTracking(i, true); end end end
/cast Hunter’s Mark

that works, but the quotes don’t copy well, so you have to replace all the quotes: in the ability name and around the word “target”