Automate action house post button

/run AuctionHouseFrame.CommoditiesSellFrame.PostButton:Click()
wont work
and the /click command wont work either
help plz

There may be a more elegant solution, but when I find a button doesn’t work with Click, I fall back to making it a secure clickbutton. This macro should work:

/run if not CrA and AuctionHouseFrame then local f = CreateFrame("Button","CrA",nil,"SecureActionButtonTemplate") f:SetAttribute("type","click") f:SetAttribute("clickbutton",AuctionHouseFrame.CommoditiesSellFrame.PostButton) end
/click CrA
1 Like