After mentioning this briefly in a previous post, I thought I’d expand on it a bit more. I really recommend reading the whole article here, the guy really knows his stuff.

I use two versions of his macro, the first of which is a reliable sapper, the second only saps rogues/druids (both are spammable). To setup either of these macros you need four empty slots on your stealth action bar, as this is actually three macros in one. SAP1 can go anywhere on the bar (I have it in slot 2) but SAP2 MUST be put on slot 10 and SAP3 be put on slot 12. Slot 11 needs to be empty, as Мадкат’s macro actually moves the second macro from slot 10 to slot 11, and back again (too quick for you to see though). Create the three macros as follows;
Spammable sap
First macro (SAP1)
/script if not UnitExists("target") then te=0; else te=1; end; sn="Sap"; fn=IsSpellInRange
/targetenemy [noexists]
/script if te==0 and (fn(sn)==0 or not fn(sn)) then PickupAction(82); PickupAction(83); end
/click ActionButton12
Second macro (SAP2)
/script PickupAction(83); PickupAction(82);
/cleartarget
Third macro (SAP3)
/click ActionButton11
/cast Sap
/cleartarget
/stopmacro [noexists]
Version #2 – spammable rogue and druid sap
This macro will only sap rogues and druids. Only the first macro needs to be changed, SAP2 and SAP3 remain the same.
First macro (SAP1)
/targetenemy [noexists]
/script r=IsSpellInRange("Sap") or 0;_,c=UnitClass("target");if(not UnitExists("target") and r==0 or not(c=="ROGUE" or c==DRUID)) then PickupAction(82);PickupAction(83);end
/click ActionButton12
The advantage of the second example is that you can use the macro close to non-stealthed enemies without giving your position away by sapping them. Hats off to Мадкат for coming up with this system of reliable sapping.

I’ve also seen nightelf hunters with stealthed pets…
Run out into the field and shadowmeld…
might be nice for those pesky NEs…
can’t get this to work, what is the “actual macro” that you mention? is that Sap1? that’s the only thing that makes sense to me. and to me “slot 10″ is actually slot 0 – anyway 0 comes after 9 so I figured that should work just as slot 10 so I put Sap2 on slot 10(0), I leave slot 11 empty and Sap3 on slot 12. When I hit “the actual macro” which I’ve concluded to be “Sap1″ Sap2 swaps over to slot 11 and when I hit Sap1 again Sap2 gets dragged off as if I would want to remove it from the action bar.
Hope that made some sort of sense
I’ve changed the post to refer to SAP1/SAP2 etc, but you had guessed rightly – I’ve just tried recreating the macros and it works ok for me (I just copied and pasted the whole macros from this page into new ones).
Are you using Dominos/Bartender or another bar addon?
yes in fact I use Bartender – had certain suspicions about that. I tried locking the bars and so on but that didn’t help anyway. possible to fix somehow? or this macro + bartender = nono?
well, I guess so :-p bummer
Ahh sry for delay, it should work ok with bartender – I use Dominos which is very similar (I think it’s supposed to be an improved Bartender, using same code). Have you tried copying/pasting macros again?
No worries about the delay
Anyway, I did try to re-add the macros etc, didn’t work, however I moved Sap1 to spot 12, and Sap2 to spot 10 and then used Sap3 as “the sapper” – it works I guess, it kind of attempts to sap the rogue but doesn’t work very well. Just tried it dueling rogues though. Just a few minutes ago I dueled this rogue and he became visible 3 times in the matter of like 2-3 seconds, a very short amount of time and the “normal” macro I usually use would get him there but this one didn’t, it was too slow to target the enemy – is this just for me?
Yep it should be much quicker that that. Struggling to think what could be causing it :/ macro3 will work on its own but it needs 1 and 2 to get it working properly.
What happens when you have macro2 in slot10 and macro3 in slot12, then mouse click on slot10? It should make the icon float, as if you’d dragged it.
for bartender try this as sap1 rest stays same btw to find out where to put sap 2 and 3 and on witch of the 96547648564 bars of bartender enable all bars use some no cd no target required skill and spam sap 1 and drag the no cd skill around ur bars once it pops (i use my proffession icon) u put there sap 2 and skip one place and put sap 3
sry for bad english i tryed my best to explain
/script if not UnitExists(“target”) then te=0; else te=1; end; sn=”Sap”; fn=IsSpellInRange
/targetenemy [noexists]
/script if te==0 and (fn(sn)==0 or not fn(sn)) then PickupAction(39); PickupAction(38); end
/click MultiBarLeftButton1
Nice, cheers for posting this.
uh so the macro works. but im curious what is so special about the sap1 and sap2 parts. would you mind explaining them please?
Going against say a rogue/priest, it means you can spam the macro to try and catch their rogue without risking sapping the priest. You may want to do this because the priest is already sapped and you don’t want to put sap on diminishing returns.
Does this macro still work? When I use sap1 it it moves sap2 between 10 and 11 until it targets a rogue/druid at which point sap 2 stays in actionbutton10 but it refuses to cast sap
any idea how to make it work??
Nevermind it works with dominos it seems just not default bars
any way to make it work with default blizz bars?