Code:
/run if not ProxyAHBack then local f = CreateFrame("Button", "ProxyAHBack", nil, "SecureActionButtonTemplate") f:SetAttribute("type", "click") f:SetAttribute("clickbutton", AuctionHouseFrame.CommoditiesBuyFrame.BackButton) end
/click ProxyAHBack
https://www.curseforge.com/wow/addons/magic-button/ is also useful