Click-to-delete addon?

I’m looking for something like… “right click an item on inventory, and delete” or something that lets me keybind a delete command that works like disenchanting (click and delete).

There’s anything like this? I tried to look for it but couldn’t find.

I want just not to have to drag and drop items outside of the inventory box to delete them.

A long time ago, this macro used to work by just hovering over the item and then tapping the key it was assigned to and it would just delete it.

/run local sb, b, s = GetMouseFocus() b, s = sb:GetParent():GetID(), sb:GetID() if b and s then PickupContainerItem(b,s)DeleteCursorItem()end

Again, this isn’t working anymore, I’m just posting it here in case someone smart can fix it and maybe that will get you what you need.

So I got curious and wanted to see if I could fix this through some ChatGPT prompts, but after pasting the code in there and seeing if it could update it to modern standards, the macro version of this appears to be impossible due to new restrictions put in place.

It did offer to help craft a custom addon to get around most of the hurdles, but I’m not that driven to make one. You’re welcome to try however.

1 Like

Oh, I’m completely clueless about trying to make an addon… But thanks for the attempt on the macro anyway!

1 Like

This seems to still work.

https://www.curseforge.com/wow/addons/gmlazydelete


Ah, is not exactly what I want. This one seems to just bypass the need to type DELETE, when I want something that allows me to delete by just clicking on the item itself.

Like for example, right click > delete.