Click Auction button macro

For non-stackable items you need to use this version

/run AuctionHouseFrame.ItemSellFrame.PostButton:Click()

You can also just combine both

/run AuctionHouseFrame.ItemSellFrame.PostButton:Click()
/run AuctionHouseFrame.CommoditiesSellFrame.PostButton:Click()

Edit 2020-11-07 (patch 9.0.1)

Normal items:

/run if not ProxyAHItem then local f = CreateFrame("Button", "ProxyAHItem", nil, "SecureActionButtonTemplate") f:SetAttribute("type", "click") f:SetAttribute("clickbutton", AuctionHouseFrame.ItemSellFrame.PostButton) end
/click ProxyAHItem

Commodity items:

/run if not ProxyAHCom then local f = CreateFrame("Button", "ProxyAHCom", nil, "SecureActionButtonTemplate") f:SetAttribute("type", "click") f:SetAttribute("clickbutton", AuctionHouseFrame.CommoditiesSellFrame.PostButton) end
/click ProxyAHCom
3 Likes