To cast Tricks on your focus, try:
/cast [@focus] Tricks of the Trade
@blah is apparently the newer, cleaner version of target=blah. I admit I've not upgraded my macro, which is still "/cast [target=focus] Tricks of the Trade"
You can also replace "focus" with a specific player name. I have three separate Tricks macros, one for my current focus (usually MT), and two for named players, usually the OT and my preferred DPS target for Tricks, which is generally a fellow Rogue when possible.
Obviously, you have to update the "player name" macros when you start each run. There are some clever ways to macro that too, if you can be bothered, but I've not done so myself. From WoWWiki:
Step 1: Create a blank macro named TotT
Step 2: Create the following macro named as you please, for this example SeTTotT
/run ToT = UnitName("target")
/run if not InCombatLockdown() then EditMacro('TotT', nil, nil, '#showtooltip\n/cast [target='.. ToT ..'] Tricks of the Trade', nil); print('Tricks of the Trade set to : ' .. ToT); else print('Cannot change TotT now!'); end;
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.