local ORIG_ContainerFrameItemButton_OnClick = ContainerFrameItemButton_OnClick; function ContainerFrameItemButton_OnClick(button, ignoreModifiers) if ( button == "LeftButton" and IsAltKeyDown() and not ignoreModifiers ) then -- CT_MailMod uses alt+click to put stuff in mail/trade frames, so don't eat the event -- if any of those frames are open. It also does alt+click to initiate trade if a -- target is selected, but we'll just have to live without that. if(not MailFrame:IsVisible() and not TradeFrame:IsVisible()) then -- local LootLink = GetContainerItemLink(this:GetParent():GetID(), this:GetID()) -- Call something here... return; end end ORIG_ContainerFrameItemButton_OnClick(button, ignoreModifiers); end