#showtooltip
/run local f=MyItem or CreateFrame(“Button”,“MyItem”,nil,“SecureActionButtonTemplate”) f:SetAttribute(“type”,“click”) f:SetAttribute(“clickbutton”,GetMouseFocus())
/cast Disenchant
/click MyItem
What the macro did was when you hovered over the item to disenchant it would disenchant it without the need to click it a second time. Much like how /cast [@cursor] would work for heroic leap. Does anyone have any ideas to get it up and running again?
#showtooltip
/run local f=MyItem or CreateFrame(“Button”,“MyItem”,nil,“SecureActionButtonTemplate”) f:SetAttribute(“type”,“click”) f:SetAttribute(“clickbutton”,GetMouseFocus())
/cast Disenchant
/click MyItem X 1
This seems to be broken as well:
/run local f=DeM or CreateFrame(“Button”,“DeM”,nil,“SecureActionButtonTemplate”) f:SetAttribute(“type”,“click”) f:SetAttribute(“clickbutton”,GetMouseFocus())
/cast Disenchant
/click DeM
It’s because the forums replace quotes with smart quotes when they’re not wrapped in code tags. Fix the quotes and one of them will work.
#showtooltip
/run local f=MyItem or CreateFrame("Button","MyItem",nil,"SecureActionButtonTemplate") f:SetAttribute("type","click") f:SetAttribute("clickbutton",GetMouseFocus())
/cast Disenchant
/click MyItem X 1
#showtooltip
/run local f=DeM or CreateFrame("Button","DeM",nil,"SecureActionButtonTemplate") f:SetAttribute("type","click") f:SetAttribute("clickbutton",GetMouseFocus())
/cast Disenchant
/click DeM
Hey, just for those that may not know for later… I spammed this key and it started equipping gear and I ended up disenchanted my stuff that I had no intention of DE’ing. So… be careful. Now I have a week to wait on my alt’s staff that I had just crafted with a Shadowflame spark ugh