Friday, December 6, 2013

Phat's Ultimate WoW Gold Making Macro Guide

This guide is going to be extensive so buckle up. Macros are a great way to make your gold making more efficient, and this is going to be a guide to both create your own basic macros, followed by a compendium of macros that I use myself for gold making.

Creating a Basic Button Clicking Macro
Playing WoW, particularly using TSM, one clicks a lot of buttons to be as productive as we are. I'm not going to cover every button, but I'm going to go over how to find and macro any clickable button. The first thing we're going to utilize is WoW's built in Frame Stack. This tells us all the frames our cursor is currently hovered over, and we can find Button names from the list to make macros for them. Here's an example.

Type /fstack and you will get a window that looks like this:

Right now I'm hovered over the TSMAuctioningPostButton, which I've just learned the name of! If I wanted to create a macro to click this button, I would just have to add a /click before the button name and voila: 

/click TSMAuctioningPostButton

You can do this with any button in game whether it be TradeSkillMaster, or quest hand in dialogues. This particular example is a bit unnecessary as TSM will bind this button to your scrollwheel.

Enhancing your TSM Scrollwheel Macro
Now hopefully you are already familiar with scrollwheel posting in TSM. If you're not, shame on you! You can find it under /tsm -> Module Operations/Options -> Auctioning -> Options -> Macro Help. Set. It. Up. If you don't post using your scrollwheel, you're doing yourself a disservice!

Once your Scrollwheel Macro is set up, it only clicks two buttons in TSM: the Post button, and the Cancel button. Both of these will save you endless amounts of time, but there are quite a few other lines you could add to this to make it even more efficient, or do specific tasks for you. To find and edit the Scrollwheel macro, type /m, and look for the macro called TSMAucBClick.

These are some of my favorite lines to add functionality to your macro:

/click TSMAHConfirmationActionButton
  • You will want this for most of the other suggested macros in this section. This one will click Yes/Buyout/Confirm/etc. button on the screens that pop up asking if you want to take an action (in the AH screen), such as Buying out each individual auction.

/click TSMAHTabBuyoutButton
  • This will click the buyout button on the bottom of the screen for the item that's currently highlighted. Great for bulk purchasing, needs a second button (above) for max efficiency though!

/click TSMAuctioningResetBuyoutButton
  • This of course is the Buyout Button when using the reset function as opposed to the Shopping module. Only slightly confusing right?
That's about it as far as the most useful ones I can think of, but again, you can always add your own via the /fstack method outlined above, and I know other gold makers who swear by having other things in their scrollwheel macro.  

Common TSM Macros
These are just some buttons that I've found extremely useful to macro in TSM, possibly intuitive to some, but very powerful.

/click TSMCraftNextButton
  • Clicks the "Craft Next" Button when you have a profession queue set up. 

/click TSMDestroyButton
  • Clicks the "Destroy Next" button in TSM_Destroying (for Prospecting, Milling, and DEing)
Crafting Macro for Single Item
This macro is a handy little guy, good for macroing crafts such as Daily CDs or crafting a specific number of a certain item every time you use it. First I'm going to start out with the simple form:

/run local s for i=1,GetNumTradeSkills() do s=GetTradeSkillInfo(i) if (s=="CRAFT") then DoTradeSkill(i,##) end end

It may look a little overwhelming, but there's only 3 fields here you need to focus on:
  1. PROFESSION: Name of the profession you're using the macro for (ie. Jewelcrafting, Inscription)
  2. CRAFT: The name of the Craft you want to make. For example if I wanted to craft Living Steel, I'd need to enter Transmute: Living Steel within the quotes, not just Living Steel.
  3. ##: Swap this out with the number you want to craft
Now for a quick example, if I wanted to set up this macro to do Transmute: Primal Diamond 7 times, the macro would look like this:

/cast Alchemy
/run local s for i=1,GetNumTradeSkills() do s=GetTradeSkillInfo(i) if (s=="Transmute: Primal Diamond") then DoTradeSkill(i,7) end end

Additional Optional Line
For bonus points you can also add this line under these two:

/run CloseTradeSkill()

This will close the TradeSkill window automatically so you don't have to!

COD Accept Macro
This macro will open all CODs that a farmer may send you, but first you must click on the individual COD.  I like this because I can look to make sure everything is there for the correct price, and quickly hit one button to accept and click yes in the confirmation box that pops up.  This requires you to loot one of the items in the COD (only way you can open a COD anyway), and generally I open the one of each and let TSM mailing empty the rest.

/click OpenMailAttachmentButton1
/click StaticPopup1Button1

Adding an Item Link to a Macro
I've actually managed to save one of the best for last.  Ever tried shift clicking an item link in a Trade Chat macro, only to have it fail miserably as only text?  Fail no more friends. 

1.  Start typing out the macro to the point that you want to add the item link.

2.  Hit escape and use the below command, and put the item link inside the quotes like in the picture
  • /script MacroFrameText:Insert("")

3.  Hit enter and finish your macro!

And that is it folks, the ultimate compendium of gold making macros at your fingertips.  Now all you need to do is utilize them to optimize your efficiency!  Hope you enjoyed!


Phat Lewts


  1. I am a big fan of:

    /run for i=1,GetMerchantNumItems() do if GetMerchantItemInfo(i)=="Ink of the Sea" then BuyMerchantItem(i,20) break end end

    change "Ink of the Sea" to whatever ink/item you want to buy 20 of. You could do a straight BuyMerchantItem(look up number and drop it here,20) also, but the above macro will work for both ink trader templates.

    ((copied from

    1. For things like this, I just use TSM_Additions. It allows you to use shift-right-click to enter numbers above 20, for example I could shift-right-click ink of the sea, enter 175, and it would buy 175 for me.

  2. Question, I am using the macros for the buyout etc, but for some reason they are not working now. Did anything change with it? Been gone about a year.

    1. The /tsm interface now let's you create most of these (if not all). Check out /fstack for other various button name changes. This page needs an update.

    2. ah thank you, just noticed it, makes that easier :)


Don't Call it a Comeback

Okay. You can probably call it a comeback in this case. I've been gone a long time. So if you follow my Twitter you'll know I recent...