Adds macros for keybinds to post and cancel on the auction house.
For use with the 8.3 auction house UI (supports Shadowlands too). Adds the command (for use in a macro)
/run MagicButton()
- If viewing the "Post" tab the item selected will be posted.
- If viewing the "Buy" tab the selected item will be purchased.
- If viewing the "Auctions" tab it will start a scan for undercut auctions, and then offer the option to cancel auctions which have been undercut.
To use this command with a keyboard shortcut:
- Press "Escape" and click on "Macros"
- Click "New" and set the name to "Magic Button"
- Press "OK"
- In the text box labelled "Add macro commands", type
/run MagicButton()
, then click save. - Drag the macro icon from the list onto an action bar.
- Add a keyboard shortcut for the action bar item, or click on the icon (when the auction house is open).
Note: For more auction house tools (including an improved undercut scan) see Auctionator
Hi!
I just discovered this nice addon, and I wanted to mod it to be able to buy commodities.
I added the folowing lines to MagiButton.lua:
if AuctionHouseFrame.displayMode == AuctionHouseFrameDisplayMode.CommoditiesBuy then
AuctionHouseFrame.CommoditiesBuyFrame.BuyDisplay.BuyButton:Click()
AuctionHouseFrame.BuyDialog.BuyNowButton:Click()
end
but it only opens buy window, but doesn't "click" on Buy Now, despite frame names are correct as I know.
Any suggestions please? :)
In reply to nakedrogue:
I've updated MagicButton to support buying commodities, you can just download 6.0.
The "Buy Now" loads after a split second, so calling the Click immediately doesn't work, there needs to be a small delay (which is roughly what the updated code in MagicButton does).
In reply to plusmouse:
Thank you very much!
Great tool, the exact thing I needed! Thanks for making it :)
Just a note: it's very hard to find your addon. In fact, I only found it because I asked in reddit and was linked to it directly, yet I was looking for something like this since new auction UI was released. Perhaps, adding some key words in the title or tags would help, not sure though. Just that "magic button" says little about what exactly it does, people would generally look along the words auction, keybind, post, cancel, etc - and description doesn't seem to help much.
Anyway, meanwhile I was trying to use macros to do the same thing. To post:
/run AuctionHouseFrame.ItemSellFrame.PostButton:Click()
/run AuctionHouseFrame.CommoditiesSellFrame.PostButton:Click()
And to cancel:
/run AuctionHouseFrameAuctionsFrame.CancelAuctionButton:Click()
/run StaticPopup1Button1:Click()
And while posting one had one really bad side effect of making auction stuck until reload sometimes, the cancel macro actually works in one key press and not just for undercut auctions, like magic button. I mean, the autocheck for undercut is nice, but not always what's needed (some undercuts are better to keep posted, sometimes, just specific auctions need cancelling). Thought to add it here in case someone's looking for just removal of extra confirmation clicks on cancelling.
In reply to Enbis:
Glad the addon does what you wanted it too (I linked it :P). I've modified the description and tag line to include the keywords.
This addon was created especially to work around the issue that the simple post macros didn't work; I'm sorry it's taken so long for you to find it.
In reply to plusmouse:
Oh, so that was your own addon, nice! :D And yeah, i hope more people would find it now, since those seem like functions needed by many players who don't really require heavy TSM-like addons.
When scan for undercut auctions sometimes it works, and sometimes it just says you own top auction, skipping... for everything, including auctions that have been undercut.
Also, while I can appreciate the simplicity of this addon...and it appears to be a "new" addon so I assume youre still working out the bugs and features, so here is some feedback that is hopefully helpful. It would be far more useful if it were actually UI integrated. Having a panel or method where it scans once and lets you THEN click a button for cancelling of each item (or select which to mass cancel) would be ideal. Having it scan multiple times each time you click to cancel something is not much of a timesaver, and clogging up the chat box with the output is also not exactly desirable.
That said... great idea, and good work so far, thank you for the addon. I hope to see your addon transform a little, but keep its basic intended purpose... as I loathe TSM and would LOVE LOVE LOVE to get rid of it, but currently its the only addon up to date that has an auction cancelling feature that works (sort of) and is somewhat intuitive.
In reply to Yawhatever:
Its meant to have the "You own the top auction" message when you're not undercut? The "Skip" just means "I'm not cancelling this one". If it is skipping undercut auctions can you include a screenshot of the auction being skipped?
This addon exists to make functionality that I don't have a UI for usable. Auctionator will (eventually) get a UI to cancel properly though.
In reply to plusmouse:
I didn't realize (didn't pay attention) that this was your project. if I had, I would have concluded that it was a temporary thing till auctionator is finished. LoL. my bad. As to the issue. I don't have screen shot and haven't been using it since but it didn't say it was skipping... I meant that there were a couple times where it said "you own the top auction" when it was in fact not the top auction. it may have been an auction that i posted higher than the current lowest price. not sure.
anywho… cant wait for Auctionator. =) =) =)
In reply to Yawhatever:
There's a few possibilities, but it does assume all your auctions for an item are posted at the same time, and in one group - which will get odd results if posted at different times.
This project exists because people really really wanted the cancelling, so I will still be doing bugfixes and minor improvements to it. The 3.8 release should fix the undercut issues.