i support this idea.
i don;t like autoloot (i never enable it), but i would like an addon to autoloot only for disenchant/prospect. it happened to me that i got disconected with the DE window on screen, and lost both item and shard :(
This will autoloot regardless of what loot window is open and will ignore your autoloot settings. As far as I know, there is no way to distinguish between Prospecting/Disenchanting loot and other loot windows.
local frame = CreateFrame("Frame")
if event == "LOOT_OPENED" then
for i = 1, GetNumLootItems() do
if GetLootSlotInfo(i) then