Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
Clicks a button.
MyButton:Click(virtual mouse button)
local f = CreateFrame("Button") f:SetScript("OnClick", function(self, arg1) print(arg1) end) f:Click("foo bar") -- will print "foo bar" in the chat frame. f:Click("blah blah") -- will print "blah blah" in the chat frame.
- This does not work on secure buttons.