I had thought that a simple item count would work... but we never really had the problem enough to pursue it....
Before dragging and dropping, do an item count of the place your dragging from or to. Then do a repeat drag/drop routine.... maybe one that steps up the delays, until that item count changes....
finditem * C_ , %wherever
set %number_of_items #findCnt
set %timout ( #sCnt + 30 ) ; 30 second timout
repeat
{
exevent drag %DisposeItemID #Findstack
wait %timer1
exevent dropc %TrashBarrel
wait %timer2
set %timer1 ( %timer1 + 1 )
set %timer2 ( %timer2 + 1 )
finditem * C_ , %wherever
}
until #findCNt <> %number_of_items || #sCnt > %timeout
set %timer1 5
set %timer2 20
return
Now you have to be careful cause you dealing with two seperate found items, the one you are actually trying to move, and the ones in the container your counting. If you define yours with a variable, then just use that variable here and let the counter be the last found item.
This was just a concept I'd thought of a long time ago and never really needed. It may work, may not, may be so full of holes it looks like the health care plan... oops.