This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Disenchant on mouse
Post Reply
Return to board index
Post by
guus775
I have been searching for a macro that disenchants only the item in my bag where my mouse is hovering above.
Like I'd put the macro on button "=" and every time I press it the item in de targetted bag slot gets disenchanted.
Post by
jemaris
You could try the addon XanMortarPestle. Works for disenchanting / milling & prospecting - you hold down alt while hovering over the item & it shimmers - click it & voila - job done.
I use it in tandem with XanReplaceEnchant - This addon automatically accepts the replace enchant dialog - useful if you're power levelling your enchanting.
I'm not the author of these by the way - I just like them.
Post by
guus775
I really don't want to use an addon for this, isn't there a macro instead? :C
Post by
Neffi
Such a macro is difficult to make, and most likely won't fit within the character limit of macros. Furthermore, it needs to be written using the same script system as addons use anyway -- so there's no reason not to just use an addon.
Post by
digitalutopia1
If you don't want an addon, then your only real alternative is to choose a particular slot to put whatever item you want to DE.
But really, what you're asking for is a little pointless if you think about it.
I mean, the only extra thing you have to do, by just placing disenchant on your bars and keybinding it to the "=" key, is to click the mouse button.
It has a cast time, so it's not like you can just swipe it over multiple items anyway.
Post by
800521
This post was from a user who has deleted their account.
Post by
digitalutopia1
Found this one, although I think it could be simplified, apparently it works.
/run local f=DeM or CreateFrame("Button","DeM",nil,"SecureActionButtonTemplate") f:SetAttribute("type","click") f:SetAttribute("clickbutton",GetMouseFocus())
/cast Disenchant
/click DeM
Nice find!
Just tested it out on my enchanter - and works as advertised.
Post by
guus775
Thanks a lot, this code will do nicely!
Actually I wanted to link mouse button 5 to the "=" key but sadly nothing happens when I click on a bag slot. I guess it can't be helped.
Post by
800521
This post was from a user who has deleted their account.
Post by
Wixman1234
If anyone is still looking for this,this works as of Ulduar release in wotlk classic
/run local f=MyItem or CreateFrame("Button","MyItem",nil,"SecureActionButtonTemplate") f:SetAttribute("type","click") f:SetAttribute("clickbutton",GetMouseFocus())
/cast Disenchant
/click MyItem X 1
you just put it in a macro and when you hit the button, it disenchants under your cursor. Enjoy.
Post by
Nulgar
Yes, currently /click requires additional parameters. Depending on your settings, it might require a 0 instead of a 1, and you cannot use any modifier (Shift, Alt, Ctrl) as the keybind, as those get passed on to the click action, and e.g. ctrl-click is used for the Dressing Room preview.
I went into a little bit more detail
in this thread
.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.