If you go either Stealth or Shadow Dance, you will still be able to Cheap Shot.

In stealth, you will be able to Premed+Cheap Shot.

Comes in handy to those of us use to using a particular button for Cheap Shot, and wishing to continue using that button.

If someone knows how to include the Premed to this during Shadow Dance. Please do. Or send me a tell.

Evasion/Combat Readiness Macro

#showtooltip
/castsequence reset=178 Evasion, Combat Readiness

Casts Evasion

If Evasion is on CD, casts Combat Readiness

Offhand weapon switching

#showtooltip [mod] 0 16; 17
/equipslot 17 0 16

You might find yourself in a situation where you have two offhand weapons with the same name but different poisons on them and you want to switch between them quickly. Or perhaps you just want to alternate between two offhand weapons with just one hotkey.

Keep your alternate dagger in the sixteenth slot (lower right corner) of your main (rightmost) backpack.

The number 17 refers to your offhand weapon slot.

#showtooltip makes the macro's icon and tooltip display the icon of the equipped weapon, or hold down a modifier key (say Alt) and it will display the icon of the weapon that's ready to be switched in.

Cloak of Shadows/Vanish Macros

Gone and now back again

This macro works similar to "new and improved steath,cos,vanish" in that it will if in combat cast prep finish your cd on vanish cast cos if not on cd and will cast vanish. Used this macro all the time before the nerf now its back and Im so happy.

New and improved Steath,Cloak of Shadow, and Vanish

This macro will put you in stealth if not in combat, if in combat and cloak of shadows and vanish are not on cd it will cast both, if only one is up it will cast which ever is up, it will also show you if vanish is up so be aware if your in combat and vanish isnt up you dont want to hit this or you will most likely waste your cos which has a shorter cd then vanish

Hitting the button twice wont pull you out of stealth

This new version will cast your shadow walk when clicked if in stealth, helpful when sneaking up on hunters.

Cloak of Shadows Vanish

#showicon Vanish
/cast Cloak of Shadows
/cast Vanish

Will Cast CoS first (removes DoTs that would immediately cancel your Stealth if you had only used Vanish), then safely Stealth.

CoS won't remove physical DoTs such as Rend or Gouge, so it's not foolproof or as useful when up against Warriors or other Rogues.

This is a two macro system, One macro to cast Tricks of the Trade and another to set the target of that macro.

The set macro cannot be used in combat since the game will not allow macro editing during combat.

AutoPartyButtons addon adds a single button that automatically puts TotT on the tank.

Step 1: Create a blank macro named TotT

Step 2: Create the following macro named as you please, for this example SeTTotT

Usage :

Target the player you want to set as your Tricks of the Trade recipient and use the set macro (SeTTotT), you will see a chatlog message confirming the macro worked.

Use the TotT macro whenever you want to use Tricks of the Trade.

Works in 3.2.2

Tricks of the Trade without losing target

#showtooltip Tricks of the Trade
/cast [@targettarget] Tricks of the Trade

This is a simple macro that will tricks of the trade your tank without losing your target. It casts on whatever your current target is targeting.

#showtooltip Tricks of the Trade
/cast [help] [@targettarget] Tricks of the Trade

Another useful macro, an extension of the first example, is to be able to preemptively throw tricks on a target if you wish, or to use it as the macro is intended, and toss it on the mob or boss's target.

This macro dictates that if your target is a friendly target, it will cast Tricks; if not, it will cast it on your target's target. Note that it won't work if you're trying to pop it because a mob is targeting you, of course.

#showtooltip Tricks of the Trade
/cast [@focus] Tricks of the Trade

This is another macro that is useful for Trading tricks (make sure the rogue that you're trading with is set as your Focus Target for this macro)

All-in-one Opener/CP Generator

Ambushes if you have a harmful target that is not dead and you are stealthed and in spec 1 (your PvE spec). Cheap Shots if same conditions but in spec 2 (your PvP spec)

Mutilates if in combat. Stealths if not in combat and not stealthed, Unstealths if stealthed, not in combat, and have a helpful target, or if you are stealthed and your target is dead, or if you have no target.

I found this to work really well with a 5-button mouse. Use Spellbinder to bind the macro to Button 4, then just spam button 4 with your thumb. Frees up several action bar slots.

Shows Kidney Shot if in spec 2 (PvP), Evisc in other spec and not grouped, and Envenom if grouped

In spec 2 casts Evisc, then KS, but resets to Evisc after 6 seconds (in case KS is on cd). In spec 1 if not grouped and in combat casts Evisc. In spec 1 if grouped (party or raid) and in combat, casts Envenom

This works really well with a 5-button mouse also. Use Spellbinder to bind the macro to Button 5, then when you need to do your finisher, hit button 5 once, then back to button 4.

Combat Macros

TotT + Killing Spree

If your target is a party member, targets their target, otherwise targets the party leader (often tank), allowing you to switch targets between the tank and what you should be DPSing.

Casts Tricks of the Trade if your target is a party member or casts Killing Spree if your target is an enemy.

This macro is useful for helping a tank establish or maintain aggro during a pull. Hit it twice and you'll TotT the tank while Killing Spree-ing everything else, without losing your target.

A line similar to "/use [harm] Sphere of Red Dragon's Blood" may be added to the end of the macro to boost the power of your Killing Spree to maximize effectiveness, as long as the used item or spell doesn't trigger GCD.

With this macro if you look at the icon using the question mark the icon and tooltips for Expose Armor will be default, pressing and holding shift will allow use of Eviscerate and see the tooltips and finally pressing and holding the ctrl button will allow you to use Envenom and see the tooltips.

Stealth and Ambush with One Handed Weapons

The "!Stealth" means you can mash it's keybind and not worry about toggling off Stealth.

Note: You need to switch your off hand weapon first only if you have a "Main Hand" weapon in your main hand. If not, the macro will attempt to switch your weapons, and fail because "Main hand" can only be equipped in your main hand. (Only affected if your main hand dagger is currently in your off hand)

Blade Flurry / Killing Spree

The first time you hit the macro, it activates Blade Flurry (I suggest you wait until S&D is already up), the next time (within 30 secs.) you *hit it, it activates Killing Spree. Since both abilities have 2m CD, you can go by the CD of Killing Spree, which is the default tooltip shown; however, if you want to see the Blade Flurry CD, just press the Shift key.

This macro is useful if your group pulls a large group all at once and you need to do some mega DPS, FAST!

Unified Mount Macro

One button, one press to: Mount an appropriate mount if not mounted. Dismount and drop into stealth if you are not flying, but do it anyway if you have an enemy target. Lacking a conditional test for how far above the ground you are, this seems the best balance of combat function vs. going splat from an accidental, high altitude key press.

Trinket activation

Many favorite level 60+ rogue trinkets can be used to provide 10-20 second buffs (attack power, crit rating, or haste) which are on different 2 min cooldowns. If you have 2 of these equipped, you can activate whichever is out of cooldown with a macro like this. If the first listed item is on cooldown, the macro will use the second.

The following macro will automatically activate your trinkets for you. You can chain as many items with uses - and which don't trigger the global cooldown - into the /castrandom as you have. It's not a good idea to add abilities that cost energy (like Adrenaline Rush) or which might break crowd control (like Blade Flurry).

The rather elaborate-looking code simply clears any errors or error sounds (such as "That item isn't ready yet") produced by the trinkets being on cooldown.

Sinister Strike => Riposte version C

This will cast Sinister Strike on a normal click, and when Riposte becomes available, right-click to use Riposte. I use this because the Sinister Strike + Riposte listed above seems buggy, and sometimes wont reset, so you're stuck trying to do Riposte over and over, when it's not available.

/cast [button:1] Sinister Strike; [button:2] Riposte

Sinister Strike => Riposte version D

This works like a lot of trinket macros I have used, you get the "not ready" message a lot, but it casts Riposte every time it is available, otherwise Sinister Strike.

Mashable Stealth / Unstealth

Backstab if mainhanding a dagger, Sinister Strike otherwise

This will Backstab if you have a dagger in your mainhand, or Sinister Strike if you have a fist weapon. This is useful for situations such as the Flame Wreath in the Shade of Aran encounter where you have to spend prolonged periods in front of a mob unable to move behind it to Backstab. Just click your fist weapon on your bar and then Sinister Strike a few times while you wait so you don't waste energy.

The reason you have to do it this way is you likely have a dagger in your offhand, so the macro will just keep trying to Backstab if you say [equipped:Daggers] [noequipped:Daggers] instead

Note: You'll have to change "Fist Weapon" to "Sword" or "Mace" as appropriate if you don't have a fist weapon

Ambush if Stealthed, otherwise Backstab

Note: The action bar changes while Stealth is activated. Therefore Ambush is only used on Stealth's action bar. When Stealth is deactivated, the action bar will swap back to the standard action bar. Backstab should only be on the standard action bar and Ambush should only be used on the Stealth action bar.

Ambush if Dagger, otherwise Cheapshot

This will Ambush your target if you have a dagger equipped, and Cheap Shot them otherwise.

/cast [equipped:Daggers] Ambush; Cheapshot

Note: that [equipped:Daggers] will evaluate true if you have a dagger in either hand. So if you are wielding a mace in your main hand, and a dagger in your off hand, then this macro will attempt to Ambush, give you an error message, and do nothing.

Equip Dagger and Ambush

This will equip your dagger if you have something else equipped, and Ambush your target otherwise. The last line will then switch back to your other weapon directly after ambushing. It can be adjusted for swords by changing [noequipped:Maces] to [noequipped:Swords]. You will need to change 'Dagger of Pwnage' or 'Mace of Pwnage' to the exact title of your weapon. Important Note: If stealth is broken before you ambush it will not automatically switch weapons back. If you click the button macro while not stealthed it will switch back for you.

Note: This macro has a weakness. Since every press of the macro will reset the 20 second timer you can easily get "out of sync" with the Ghostly Strike cooldown. Imagine it takes you 10 seconds to kill a target after which you move on. At this point the 20 second reset timer of the macro has just been reset. This means that attacking a new target within the next 20 seconds would NOT result in a Ghostly Strike opener even though cooldown is ready.

Stealth => Sinister Strike

This macro will...

Stealth you if you have a dagger equipped and are not in combat.

Equip your dagger if you are not stealthed, not in combat, and not wielding a dagger (change "Dagger of Pwnage" to the name of your dagger.

Equip your sword/whatever if you are in combat and are wielding a dagger (remember to change the name of the weapon in the macro).

Apply Poisons

With this macro, you can left click to poison your main hand, right click to poison your offhand, hold down the alt button when you do it to use Crippling Poison or the ctrl button to use Mind-Numbing Poison.

Note: This macro will not function as intended if you are using higher-rank poisons and do not include rank numbers. Rank 1 poisons are simply known as "Instant Poison", "Deadly Poison", etc. The game's API looks for that specific name when you don't use a rank ("II", "III", etc.), which will causes it to register as non-functional if those poisons aren't in inventory. To avoid this, you can also use bag slot ID numbers to force the macro to always use whatever poison you put in that bagslot.

Note: that the double-modifier uses have to come before the single ones.

Clickless Apply Poison

Another alternative you can use, one that don't need clicking the weapon to apply your poison, is shown below:

Five in one Poisons

This macro will apply a poison depending on the modifier button you push when you hit the macro. It will apply the poison to the mainhand weapon if you use the left mouse button, or the offhand weapon if you use the right mouse button.

Blind Mouseover

This lets you Blind mobs/players without changing target but simply by hovering your mouse over them. Because your cursor is being used to select a target, you will need to have this macro bound to a key.

/cast [target=mouseover,exists,harm,nodead] Blind

Another version: Blinds the mouseover if appropriate or the main target if not. The drawback is that if you <<miss>> the secondary target with your cursor then your current turget will get the Blind.

Cold Blood => Eviscerate

Trinket => Evasion => Adrenaline Rush

13 is top trinket slot, 14 is bottom. If Evasion is not up, Adrenaline Rush will not come out. There is no way to bypass this at the moment, unless you want to /castrandom and get those abilities out randomly.

/use 13
/castsequence Evasion, Adrenaline Rush

This is the /castrandom version and is very effective in bypassing the restriction above:

Pick Pocket + Ambush

If you use this macro it will Stealth you and Pick Pocket your mob netting you a few extra silver and the occasional Locked Box. You should(!) enable Autoloot in your Interface-Menu. If you are stealthed when using the macro, it will just Pick Pocket and use the opener. Instead of Ambush you can use every other Opener of course.

Auto-loot only when Pickpocketing

Without the /in 1 the auto-loot-default setting is returned to 0 before the pick pocket completes, defeating the whole purpose.
Note: Autoloot used to be "SetAutoLootDefault(1)", patch 3.0 made Autoloot a CVar.

One-button Auto target, Sap, Auto loot, Pick Pocket.

This will select the most close target, and Sap then auto loot pick pocket,

Equip throwing weapon + Deadly Throw

This macro will equip your throwing weapon & cast Deadly Throw (requires two button presses, about a 1 second delay due to global cooldown). Handy if you want to keep a bow/gun/crossbow equipped due to better stats.

Sap + Pick Pocket

WARNING: Do not use this macro when sapping a member of a group. If your pick pocket gets resisted, you break stealth and aggro the whole group.

Almost guaranteed pick pocket even in laggy situations and on moving mobs. It has its weakness in world PvP though, your enemy can easily know you're there.

/cast Sap
/cast Pick Pocket

Note: Patch 2.1.0 (22-May-2007): As of 2.1.0. Sap no longer breaks stealth, and thus you no longer need Improved Sap for this to work.

Gouge => Bandage

Automatically Gouges the target and begins bandaging yourself. Be warned that if your Gouge fails, this will still expend a bandage. Replace Netherweave Bandage with the name of whatever bandage you wish to use with this macro.

Gouge Spam

This macro is probably only used for pvp. When nearing a target you want to gouge so you could for example open with minor CC, you will Stealth => Cheap Shot should you suddenly leave combat just before you get in range for Gouge. Best use for this macro is if you don't put it in one of your main action bars, since action buttons change once you stealth. This will also always show the tooltip of the ability it will currently exceed. Do note that this macro is most useful for rogues without Improved Gouge and with Dirty Deeds, which is comon to hemo or PvP assassination builds.

Dagger <=> Sword switching

This macro switch the weapon in your main hand. Useful if want to start with a dagger and switch to your sword after opening. Can be used to switch your main hand with your off-hand too. Use the "?" icon to see what is equepped in the main hand.

The first click will re-equip a dagger if the main hand isn't a dagger, and the second click will equip a sword if the main hand isn't a sword.

OR

Alternative

It's basically the same as the above macro. However, this make sure that it will only equip the main hand w/ the dagger you specify while stealth, preventing an accident of switching back to a sword/mace/fist weapon if press the button 1 too many times. Probably better for efficiency. Remember to change the name of the weapon each time when you get a better weapon.

Dismount and stealth

Switch main and off hand

This macro will swap the weapons equipied in your main and off hand. Useful to switch between sword and dagger. When you do this instantly with other ability you may even trick the global cooldown. Note that you must have the "one hand" weapons equippied, not "main hand". Use the "?" icon with this macro to see what is equipped in your main hand.

#show 16
/script PickupInventoryItem(16); PickupInventoryItem(17);

Stun

This will make one button for stunning a target. It will perform Cheap Shot if stealthed, Kidney Shot otherwise.

/cast [stealth] Cheap Shot; Kidney Shot

Flee

This is a good macro if you want to get away from some mobs quickly. (when back is turned to mob/player you can not dodge even with evasion)

/cast Sprint
/cast Evasion

This is a better macro for getting away from a single enemy, and still better for getting away from mobs, as it temporarily reduces the number of enemies chasing you by one.

/cast Gouge
/cast Sprint
/cast Evasion

And if you are a Herbalist, with a skill level of at least 75, then you can use this one instead:

/cast Gouge
/cast Sprint
/cast Evasion
/cast Lifeblood

Be sure to have Improved Gouge - Rank 5

Implicit Weapon Switching

These are a couple macros I found good for switching weapons on the fly depending on what you are doing.

This one will prepare a dagger for backstabbing after a gouge, or equip 2 daggers for a mutilate.

/cast Gouge
/equipslot 16 <dagger>
/equipslot 17 <dagger>

This one will equip a sword, mace, or fist weapon after executing a backstab or mutilate so you can keep up DPS without fumbling around.

This one is in case your gouge misses so you don't have to waste time using the previous macro switching back. You may lose some DPS Sinister Striking with a weak weapon but you will put your normal weapons on right afterwards.

Boss Bleeder Macro

This macro is explicitly for subtlety specced rogues and should be used primarily against boss mobs. This will provide a maximum effect from your two primary bleed effects. As a subtlety specced rogue, your opening garrote will hit for +50% damage (+20% Opportunity, +10% Master of Subtlety, +20% Shadowstep) and your rupture will hit for +60% (+30% Serrated Blades, +10% Master of Subtlety, +20% Shadowstep) with 5 combo points. This is only effective once every 10 minutes which is why it should be saved for bosses. You can open up for about 600 damage every 2–3 seconds without pulling excessive threat away from your tank.

Note: Subtlety specced rogues aren't considered a pve spec. As the damage output of Sub is subpar in pve.

Kick or Arcane Torrent Macro

This macro is only useful for blood elf rogues. It performs a Kick. While kick is on cooldown, the same button will do Arcane Torrent instead.

#showtooltip
/castsequence reset=10 Kick, Arcane Torrent

Limitations: If you do not have a kickable target this will NOT do an arcane torrent because kick must be cast on the first press, then arcane torrent on the second press.

Sap Macro

This simple macro is only really useful when fighting another rogue. You can sneak around stealthed while spamming this button, and it will instantly target then sap your opponent if you see him/her first, allowing you to casually start off with an opening move.

Sap + Blind in Dungeons

This is two useful macros, one for the sap and one for blind. You first sap your target and the macro will set focus. When you want to use blind the macro will use the focus to choose target without changing your target.

Expose Armor without breaking Sap/Blind/Gouge

This simple macro will cast Expose Armor, clear your target and then get the target back without breaking and incapacitate effect. Note: the "stop auto attack" option MUST be checked for this macro to work. For some you may still be auto attacking the target, and to fix this, as you expose armor, face your character completely opposite or at a 90 degree angle away from said target. This will allow you to expose armor, but the angle of sight stops the use of an attack.

#show
/cast Expose Armor
/cleartarget

Auto Attack/Sinister Strike

With mobs stacked on each other its hard to select the right one and attack it. This is a macro for when you select a new target and have no energy to Sinister Strike(or any other main attack: Hemorrhage, Mutilate, Backstab) it will start to Auto Attack in one button.

Tricks of the Trade Macro

#showtooltip Tricks of the Trade
/cast [target=focus,help] Tricks of the Trade

Remember to select your Focus by right-clicking on the toon's character portrait and selecting "Set Focus". If this works correctly you will see their portrait and mana bar on the lower left hand side of your screen.

If you want to change this for one specific person simply but their characters name where it say "focus".

EX:

#showtooltip Tricks of the Trade
/cast [target=Narcisa,help] Tricks of the Trade

Alternative Tricks of the Trade macro

This macro is a rebuild of the above TotT macro, this one simply puts the focus target function into the macro itself and allows you to select your Focus target by targetting them and clicking this macro, then select the target to be TotT'ed to the Focus and hit the macro and up goes TotT

Stealth/Vanish macro

This will cast stealth if you are out of combat or mounted.
edit: I added mount options too, because it sometimes cast vanish even outside of combat when mounted.

Gouge / Stealth macro

This macro will - Gouge enemy - cast stealth at the end of effect (Improved gouge lasts 5.5 sec, you can stealth after 5 secs of no battle action = you can use that 0.5 sec to stealth). Of course, you have to spam it to make it work.

/cast [combat] Gouge
/cast [nocombat,no stealth] Stealth

Note: this works only with talent improved Gouge

Note: Not sure why you wouldn't just take the mashable stealth macro instead.

6 ambush onslaught

This is a cast sequence set up to cast 6 ambushes on your target over a span of pressing this lil button a few times, you must be in stealth to start it properly and best if used with premeditation b4 u begin the macro for maximum slice and dice time.

Note: this is really only practical on bosses, or when someone else is holding aggro on your target, it doesnt take all that long to pull it off and your DPS will skyrocket, if specced into sub its highly possible that they will all be crits which is always nice.

One button PvP

This sequence is set up to either kill or greatly damage, as in up to or more than 1/2 of your targets HP, but can only be used once every 10 min. Best most likely used on a healer in arena or FC in WSG, or something to that affect.